Skip to content

APK build failure: AAPT: error: resource android:attr/lStar not found #9

@jpwoodbu

Description

@jpwoodbu

Steps to reproduce:

  1. flutter create delme
  2. cd delme
  3. Ensure the demo app can build an APK without error. flutter build apk
  4. flutter pub add flutter_android_volume_keydown
  5. Rebuild APK to see error message. flutter build apk.
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_android_volume_keydown:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR: /home/jpwoodbu/devel/delme/build/flutter_android_volume_keydown/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.


* 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 43s
Running Gradle task 'assembleRelease'...                           43.7s
Gradle task assembleRelease failed with exit code 1

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