Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Android Crash: 'AAPT: error: resource android:attr/lStar not found.' #40

Open
Nestoro opened this issue Jun 20, 2023 · 0 comments

Comments

@Nestoro
Copy link

Nestoro commented Jun 20, 2023

Android assembleRelease crashed on me with this error:

AAPT: error: resource android:attr/lStar not found.

Originating from node_modules\vision-camera-face-detector\android\build\intermediates\merged_res\release\values\values.xml:2756.

Already having the fix from here: rodgomesc/vision-camera-code-scanner#112 (comment) in place for the same problem in a similar dependency, I modified android/app/build.grade to include:

buildscript {
...
    ext {
    ...
        VisionCameraFaceDetector_compileSdkVersion = 33
        VisionCameraFaceDetector_minSdkVersion = 21
        VisionCameraFaceDetector_targetSdkVersion = 33
    ...
    }
...
}

which fixed this problem

@Nestoro Nestoro changed the title Android Crash: 'AAPT: error: resource android:attr/lStar not found.' Fixed: Android Crash: 'AAPT: error: resource android:attr/lStar not found.' Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant