Open Nestoro opened 1 year ago
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.
node_modules\vision-camera-face-detector\android\build\intermediates\merged_res\release\values\values.xml:2756
Already having the fix from here: https://github.com/rodgomesc/vision-camera-code-scanner/issues/112#issuecomment-1311568751 in place for the same problem in a similar dependency, I modified android/app/build.grade to include:
android/app/build.grade
buildscript { ... ext { ... VisionCameraFaceDetector_compileSdkVersion = 33 VisionCameraFaceDetector_minSdkVersion = 21 VisionCameraFaceDetector_targetSdkVersion = 33 ... } ... }
which fixed this problem
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: https://github.com/rodgomesc/vision-camera-code-scanner/issues/112#issuecomment-1311568751 in place for the same problem in a similar dependency, I modified
android/app/build.grade
to include:which fixed this problem