Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

🔧 Updated android compile + target SDK version#143

Open
Jad-Jbara wants to merge 1 commit intorodgomesc:masterfrom
Jad-Jbara:master
Open

🔧 Updated android compile + target SDK version#143
Jad-Jbara wants to merge 1 commit intorodgomesc:masterfrom
Jad-Jbara:master

Conversation

@Jad-Jbara
Copy link

Fix for Android assembleRelease failure: Android resource linking failed lStar not found

Error stack:

Execution failed for task ':vision-camera-code-scanner:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:/................/node_modules/vision-camera-code-scanner/android/build/intermediates/merged_res/release/values/values.xml:2756: 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.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)

Issue started happening after upgrading react-native version to 0.71.7 from 0.67.5.

The issue happens when running ./gradlew assembleRelease however, running ./gradlew app:assembleRelease works as a workaround.

I tried the changes that I have made, and the project ran and I was able to build the app.

dayaki added a commit to dayaki/vision-camera-code-scanner that referenced this pull request May 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments