flutter_libphonenumber icon indicating copy to clipboard operation
flutter_libphonenumber copied to clipboard

Resource android:attr/lStar not found

Open ne3Vubeki opened this issue 1 year ago • 5 comments

When trying to build an application on the new version of Flutter 3.24.0 on Android, the build crashes:

* What went wrong:
Execution failed for task ':flutter_libphonenumber_android:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/Users/xxx/Work/Xxx/build/flutter_libphonenumber_android/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 (Rosetta), locale ru-RU)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/macos-android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.91.1)
[✓] Connected device (5 available)
[✓] Network resources

ne3Vubeki avatar Aug 09 '24 15:08 ne3Vubeki