Execution failed for task ':fitness:compileReleaseKotlin'.
e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (326, 42): Unexpected token
e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (35, 1): Class 'FitnessPlugin' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener
e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (324, 5): 'onRequestPermissionsResult' overrides nothing
2
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':fitness:compileDebugKotlin'.
Execution failed for task ':fitness:compileReleaseKotlin'.
e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (326, 42): Unexpected token e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (35, 1): Class 'FitnessPlugin' is not abstract and does not implement abstract member public abstract fun onRequestPermissionsResult(p0: Int, p1: Array<(out) String!>, p2: IntArray): Boolean defined in io.flutter.plugin.common.PluginRegistry.RequestPermissionsResultListener e: C:\Users\lenovo\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\fitness-1.0.1\android\src\main\kotlin\dev\juyoung\fitness\FitnessPlugin.kt: (324, 5): 'onRequestPermissionsResult' overrides nothing 2
FAILURE: Build failed with an exception.