flutter使用amap安卓环境遇到的问题,希望各位大佬帮帮解决一下

749 阅读1分钟

e: /Users/sean/.pub-cache/hosted/pub.dartlang.org/amap_base-0.3.5/android/src/main/kotlin/me/yohom/amapbase/map/MapHandlers.kt: (185, 1): Object 'OpenOfflineManager' is not abstract and does not implement abstract member @UiThread public abstract fun onMethodCall(@nonnull p0: MethodCall, @nonnull p1: MethodChannel.Result): Unit defined in me.yohom.amapbase.MapMethodHandler e: /Users/sean/.pub-cache/hosted/pub.dartlang.org/amap_base-0.3.5/android/src/main/kotlin/me/yohom/amapbase/map/MapHandlers.kt: (191, 5): 'onMethodCall' overrides nothing e: /Users/sean/.pub-cache/hosted/pub.dartlang.org/amap_base-0.3.5/android/src/main/kotlin/me/yohom/amapbase/search/SearchHandlers.kt: (286, 1): Object 'DistanceSearchHandler' is not abstract and does not implement abstract member @UiThread public abstract fun onMethodCall(@nonnull p0: MethodCall, @nonnull p1: MethodChannel.Result): Unit defined in me.yohom.amapbase.SearchMethodHandler e: /Users/sean/.pub-cache/hosted/pub.dartlang.org/amap_base-0.3.5/android/src/main/kotlin/me/yohom/amapbase/search/SearchHandlers.kt: (287, 5): 'onMethodCall' overrides nothing

FAILURE: Build failed with an exception.

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

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at help.gradle.org

BUILD FAILED in 11s Finished with error: Gradle task assembleDebug failed with exit code 1