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

Title: Build Error: Could not resolve drawerlayout-1.0.0.aar in flutter build apk #24

Open
sorenammd opened this issue Dec 20, 2024 · 0 comments

Comments

@sorenammd
Copy link

Title: Build Error: Could not resolve drawerlayout-1.0.0.aar in flutter build apk
Description:
I am encountering an issue when running flutter build apk. However, the app works fine when using flutter run on a physical device. The error appears to be related to resolving dependencies during the build process. Below is the error log:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':particle_base:generateReleaseLintModel'.

Could not resolve all files for configuration ':particle_base:releaseRuntimeClasspath'.
Could not find drawerlayout-1.0.0.aar (androidx.drawerlayout:drawerlayout:1.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/androidx/drawerlayout/drawerlayout/1.0.0/drawerlayout-1.0.0.aar
https://dl.google.com/dl/android/maven2/androidx/drawerlayout/drawerlayout/1.0.0/drawerlayout-1.0.0.jar

  • 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.

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