You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ensure the demo app can build an APK without error. flutter build apk
flutter pub add flutter_android_volume_keydown
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
The text was updated successfully, but these errors were encountered:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on Ubuntu 22.04.5 LTS 6.5.0-45-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.96.4)
[✓] Connected device (2 available)
[✓] Network resources
• No issues found!
This is with flutter_android_volume_keydown: ^1.0.1 in my pubspec.yaml.
Steps to reproduce:
flutter create delme
cd delme
flutter build apk
flutter pub add flutter_android_volume_keydown
flutter build apk
.The text was updated successfully, but these errors were encountered: