-
Notifications
You must be signed in to change notification settings - Fork 12
Description
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.