Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build issue with Flutter 3.0 #4

Open
leeraymond78 opened this issue May 24, 2022 · 0 comments
Open

Android build issue with Flutter 3.0 #4

leeraymond78 opened this issue May 24, 2022 · 0 comments

Comments

@leeraymond78
Copy link

Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
debug
debugResources
debugClasses
release
releaseResources
releaseClasses
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
profile
profileResources
profileClasses
debugAndroidTestClasses
debugUnitTestClasses
releaseUnitTestClasses
profileUnitTestClasses
e: /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/gt3_flutter_plugin-0.0.7/android/src/main/kotlin/com/geetest/gt3captcha/gt3_flutter_plugin/Gt3FlutterPlugin.kt: (117, 38): Type mismatch: inferred type is Map<String, Any>? but Map<String, Any> was expected
e: /Users/admin/flutter/.pub-cache/hosted/pub.dartlang.org/gt3_flutter_plugin-0.0.7/android/src/main/kotlin/com/geetest/gt3captcha/gt3_flutter_plugin/Gt3FlutterPlugin.kt: (117, 43): Type mismatch: inferred type is Map<String, Any>? but Map<String, Any> was expected


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':gt3_flutter_plugin: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 https://help.gradle.org

BUILD FAILED in 2m 54s
Exception: Gradle task assembleDebug failed with exit code 1
Exited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant