Skip to content

Android build issue with Flutter 3.0 #4

@leeraymond78

Description

@leeraymond78
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions