Skip to content

Build Error #1

@moizshabbir

Description

@moizshabbir

Kindly let me know what is the issue and how to resolve it.

Launching lib\main.dart on sdk gphone x86 in debug mode...

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.github.awareframework:com.awareframework.android.sensor.pedometer:master-SNAPSHOT.
Required by:
project :app > project :awareframework_pedometer
> Could not resolve com.github.awareframework:com.awareframework.android.sensor.pedometer:master-SNAPSHOT.
> Unable to load Maven meta-data from https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml'. Received status code 401 from server: Unauthorized
> Could not resolve com.github.awareframework:com.awareframework.android.sensor.pedometer:master-SNAPSHOT.
> Unable to load Maven meta-data from https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml.
> Could not get resource 'https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml'.
> Could not GET 'https://jitpack.io/com/github/awareframework/com.awareframework.android.sensor.pedometer/master-SNAPSHOT/maven-metadata.xml'. Received status code 401 from server: Unauthorized

  • 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 1m 1s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

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