question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

values.xml:2761: AAPT: error: resource android:attr/lStar not found.

See original GitHub issue

when building an application with the command ./gradlew assembleRelease an error has appeared.

ERROR: ...\node_modules\vision-camera-code-scanner\android\build\intermediates\merged_res\release\values\values.xml:2761: AAPT: error: resource android:attr/lStar not found.

I use the most up-to-date versions of all packages

    "react": "18.1.0",
    "react-native": "0.70.5",
    "react-native-gesture-handler": "^2.8.0",
    "react-native-reanimated": "^2.12.0",
    "react-native-safe-area-context": "^4.4.1",
    "react-native-screens": "^3.18.2",
    "react-native-vision-camera": "^2.15.2",
    "vision-camera-code-scanner": "^0.2.0"

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
AliBaseghiVirtudevcommented, Nov 11, 2022

I had the same issue for building with targetSdkVersion 33: this approach worked for me: In build.gradle (project) I added SDK values to builscript -> ext

buildscript { … ext { … VisionCameraCodeScanner_compileSdkVersion = 33 VisionCameraCodeScanner_minSdkVersion = 21 VisionCameraCodeScanner_targetSdkVersion = 33 } … }

to override default compile and target SDK version. I hope it would help.

0reactions
valery-lavrikcommented, Nov 11, 2022

thank you, it helped!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Message "error: resource android:attr/lStar not found"
Execution failed for task ':app:processDebugResources'. Android resource linking failed /Users/xxx/.gradle/caches/transforms-2/files-2.1/ ...
Read more >
Solved : AAPT: error: resource android:attr/lStar not found
AAPT : error : resource android:attr/lStar not foundAAPT: error : resource android:attr/lStar not found #انتسب_للقناة_من_هنا ...
Read more >
How To Fix AAPT: error: resource android:attr/lStar not found
How To Fix AAPT : error : resource android:attr/lStar not found - Invoke-customs are only supported starting with Android O (--min-api 26)].
Read more >
resource android:attr/lstar not found. error: failed ... - YouTube
error gradleerror: resource android:attr/lstar not found. error : failed linking references.https://pastebin.com/gg2TPMCx.
Read more >
AAPT: error: resource android:attr/lStar not found ... - YouTube
This video is to show , how to fix the most recent build error on Monaca due to a plugin update, Watch the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found