Repository: bluefireteam/audioplayers

Issue #737: Android Build Failure (compile kotlin errors) 0.17.2
Created: 2021-01-18T17:33:20Z
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (181, 52): Expecting a parameter declaration
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (231, 38): Expecting an argument
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\ByteDataSource.kt: (8, 37): Expecting a parameter declaration
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedMediaPlayer.kt: (10, 39): Expecting a parameter declaration
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (168, 32): Expecting a parameter declaration
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (205, 26): Expecting an argument
[        ] e: C:\Users\somePerson\Documents\development\flutter\.pub-cache\hosted\pub.dartlang.org\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (46, 77): Type inference failed. Expected type mismatch: inferred type is List<???> but MutableList<WrappedSoundPool> was expected
[        ] FAILURE: Build failed with an exception.

Not sure if my compiler is having issues or how to even update it, but flutter build or flutter run is failing,
Going back to 0.17.0 for now

Duplicate issue #738: Kotlin error 0.17.2
Created: 2021-01-19T11:20:28Z
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (181, 52): Expecting a parameter declaration
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\AudioplayersPlugin.kt: (231, 38): Expecting an argument
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\ByteDataSource.kt: (8, 37): Expecting a parameter declaration
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedMediaPlayer.kt: (10, 39): Expecting a parameter declaration
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (168, 32): Expecting a parameter declaration
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (205, 26): Expecting an argument
e: D:\flutter\.pub-cache\hosted\pub.flutter-io.cn\audioplayers-0.17.2\android\src\main\kotlin\xyz\luan\audioplayers\WrappedSoundPool.kt: (46, 77): Type inference failed. Expected type mismatch: inferred type is List<???> but MutableList<WrappedSoundPool> was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':audioplayers:compileDebugKotlin'.
> Compilation error. See log for more details

Closing comment (2021-01-19T11:58:01Z): Duplicate of #737