insta_assets_picker icon indicating copy to clipboard operation
insta_assets_picker copied to clipboard

Android apk build error

Open ziponia opened this issue 6 months ago • 0 comments

Hi! @LeGoffMael

thank you for providing a great package.

I'm in the middle of a migration to version 3.24.0 of flutter, and I noticed that the migration tests in your project run differently than expected.

I expected a problem in my project, but it was not solved, so I tried to clone your project and it is reproducing the problem.

I would appreciate it if you could tell me how to solve it.

Error Print

FAILURE: Build failed with an exception.

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

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.4)
[✓] VS Code (version 1.92.0)
[✓] Connected device (5 available)
[✓] Network resources

Reproduce

  1. current project clone
  2. flutter pub get
  3. cd example
  4. flutter run --release or flutter build apk

There seems to be no problem in debug mode or 'flutter build appbundle'.

Additional information

There seems to be no problem in debug mode or 'flutter build appbundle'.

ziponia avatar Aug 08 '24 07:08 ziponia