lukasgit/flutter_contacts

android:attr/lStar not found

Opened this issue · 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.

Found a fix?

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!

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.

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?

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

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