dev-juyoung / Fitness

Flutter plugin for reading health and fitness data. Wraps HealthKit on iOS and GoogleFit on Android.
MIT License
19 stars 11 forks source link

I am facing this issue while building apk #15

Open rajkamal06 opened 2 years ago

rajkamal06 commented 2 years ago

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.