Skip to content

too many bugs found #1

Description

@tayyabbashir2224

when i run this command flutter build apk --split-per-abi
i got following errors..
The plugins flutter_image_compress, local_auth use a deprecated version of the Android embedding.To avoid unexpected runtime failures, or future build failures, try to see if these plugins supportthe Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will
remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

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
*********************************************************
WARNING: This version of local_auth will break your Android build if it or its dependencies aren't
compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:processReleaseResources'.

Could not resolve all task dependencies for configuration ':app:releaseRuntimeClasspath'.
Could not resolve io.grpc:grpc-core:[1.12.0].
Required by:
project :app > com.google.firebase:firebase-inappmessaging-display:17.2.0 > com.google.firebase:firebase-inappmessaging:17.2.0 > io.grpc:grpc-okhttp:1.12.0
> Failed to list versions for io.grpc:grpc-core.
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

  • 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 18s
Running Gradle task 'assembleRelease'... 19.9s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
*********************************************************
WARNING: This version of local_auth will break your Android build if it or its dependencies aren't
compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
*********************************************************

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:lintVitalRelease'.

Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
Could not resolve io.grpc:grpc-core:[1.12.0].
Required by:
project :app > com.google.firebase:firebase-inappmessaging-display:17.2.0 > com.google.firebase:firebase-inappmessaging:17.2.0 > io.grpc:grpc-okhttp:1.12.0
> Unable to load Maven meta-data from https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml.
> Could not get resource 'https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml'.
> Could not GET 'https://google.bintray.com/exoplayer/io/grpc/grpc-core/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

  • 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 22s
    Running Gradle task 'assembleRelease'... 23.5s
    [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
    Gradle task assembleRelease failed with exit code 1

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