flutter_contacts icon indicating copy to clipboard operation
flutter_contacts copied to clipboard

App build failled caused by contact_service

Open ibrahimkelly opened this issue 1 year ago • 5 comments

`FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':contacts_service:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR:PATH\build\contacts_service\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 1m 25s Running Gradle task 'assembleRelease'... 87.6s Gradle task assembleRelease failed with exit code 1`

ibrahimkelly avatar Aug 23 '24 19:08 ibrahimkelly

Same error im compiling for sdk 34

Maruqes avatar Aug 28 '24 15:08 Maruqes

Also compiling for sdk 34... Getting the same error

charlie-black avatar Sep 10 '24 16:09 charlie-black

Also compiling for sdk 34... Getting the same error

https://github.com/flutter/flutter/issues/153281#issuecomment-2292201697

This worked for me you can see i added this in my project https://github.com/Maruqes/myPhoneConnection/blob/main/myphoneconnection/android/build.gradle

let me know if it worked for you

Maruqes avatar Sep 10 '24 16:09 Maruqes

Also compiling for sdk 34... Getting the same error

flutter/flutter#153281 (comment)

This worked for me you can see i added this in my project https://github.com/Maruqes/myPhoneConnection/blob/main/myphoneconnection/android/build.gradle

let me know if it worked for you

Going to try it, thanks in advance.

ibrahimkelly avatar Sep 11 '24 00:09 ibrahimkelly

A pull request to address the issue has been created and is awaiting merge. error: resource android:attr/lStar not found. Resolved in -> #339

ibrahimkelly avatar Sep 13 '24 07:09 ibrahimkelly

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 04:04 stale[bot]