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

Build Error #1

Open
moizshabbir opened this issue Oct 30, 2021 · 0 comments
Open

Build Error #1

moizshabbir opened this issue Oct 30, 2021 · 0 comments

Comments

@moizshabbir
Copy link

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)

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