Skip to content

I am facing this issue while building apk #15

@rajkamal06

Description

@rajkamal06

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'.

Compilation error. See log for more details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions