flutter_contacts icon indicating copy to clipboard operation
flutter_contacts copied to clipboard

android:attr/lStar not found

Open famousuniverse opened this issue 1 year ago • 8 comments

using: compileSdkVersion and targetSdkVersion of: 34

running: ./gradlew build

Task :contacts_service:verifyProfileResources FAILED Task :contacts_service:verifyReleaseResources FAILED

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

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

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR: /build/contacts_service/intermediates/merged_res/profile/mergeProfileResources/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.

famousuniverse avatar Sep 20 '24 02:09 famousuniverse

Found a fix?

EsinShadrach avatar Sep 23 '24 15:09 EsinShadrach

Unfortunately, you're in the same position. I was. I used an old package :( https://github.com/lukasgit/flutter_contacts/ <<<<<<< apparently, no one is updating this package contacts_service and it's been years https://github.com/QuisApp/flutter_contacts/ <<<<<<< also, they name the packages the same on github

I had to remove all the lukasgit code and replace it with: QuisApp

The one below appears to be supported and is the one I'm using now: https://pub.dev/packages/flutter_contacts

Hope this helps you!

famousuniverse avatar Sep 24 '24 00:09 famousuniverse

Unfortunately, you're in the same position. I was. I used an old package :( https://github.com/lukasgit/flutter_contacts/ <<<<<<< apparently, no one is updating this package contacts_service and it's been years https://github.com/QuisApp/flutter_contacts/ <<<<<<< also, they name the packages the same on github

I had to remove all the lukasgit code and replace it with: QuisApp

The one below appears to be supported and is the one I'm using now: https://pub.dev/packages/flutter_contacts

Hope this helps you!

What ??? I spent a lot of time waiting for this. My app always not build only the debug. Wow 😲, thanks.

ibrahimkelly avatar Sep 26 '24 01:09 ibrahimkelly

Same problem I am facing, though I am developing my app via flutterflow, but via android studio this problem is coming. what us the way out?

vairagadeharshwardhan avatar Sep 29 '24 07:09 vairagadeharshwardhan

On Sun, 29 Sep 2024 at 08:02, vairagadeharshwardhan < @.***> wrote:

Same problem I am facing, though I am developing my app via flutterflow, but via android studio this problem is coming. what us the way out?

— Reply to this email directly, view it on GitHub https://github.com/lukasgit/flutter_contacts/issues/340#issuecomment-2381137611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYMHL3DL5PHZDFJ4T2ELQ4TZY6QXXAVCNFSM6AAAAABORC43M6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGEZTONRRGE . You are receiving this because you commented.Message ID: @.***>

Hey, so just use one of the forked packages they work it seems this project is no longer being maintained. You can use flutter pub add to add from a GitHub repo

EsinShadrach avatar Sep 29 '24 10:09 EsinShadrach

I have now used flutter_contacts: ^1.1.9+2, and it seems fine for now.

vairagadeharshwardhan avatar Sep 29 '24 11:09 vairagadeharshwardhan

👍

On Sun, Sep 29, 2024, 4:02 AM vairagadeharshwardhan < @.***> wrote:

I have now used flutter_contacts: ^1.1.9+2, and it seems fine for now.

— Reply to this email directly, view it on GitHub https://github.com/lukasgit/flutter_contacts/issues/340#issuecomment-2381312523, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5GHJDXWFMSCFPFUKO37IDZY7M4BAVCNFSM6AAAAABORC43M6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGMYTENJSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

famousuniverse avatar Sep 29 '24 14:09 famousuniverse

Last update of this package is 3 years ago. I think you should migrate to flutter_contacts instead

myxzlpltk avatar Oct 02 '24 04:10 myxzlpltk

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]