Skip to content

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

@sorenammd

Description

@sorenammd

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.

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