Closed bekatd closed 10 months ago
I resolved crash by following google ml kit installation guide (above screenshot).
But this also should be mentioned in docs
Same problem but it's solution not working for me :/
Before installing it, was the application opened when running in debug mode?
After days struggle with this issue. I found that you don't need to add mlkit face detection lib (on the picture above). I did these to resolve the problem.
app/build.gradle
add implementation project(':visioncamerafacedetector')
settings.gradle
add
include ':visioncamerafacedetector'
project(':visioncamerafacedetector').projectDir = new File(rootProject.projectDir, '../node_modules/vision-camera-face-detector/android')
That's all! Hope this will be helpful
Bonus.
I also use vision-camera-code-scanner
so I need to add this lines into settings.gradle
(don't need add tail of the path and implementation ...
in app/build.gradle
. Quite different from these two libs. Weird!):
include ':visioncameracodescanner'
project(':visioncameracodescanner').projectDir = new File(rootProject.projectDir, '../node_modules')
Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.
Question
Android app crashes immediately upon launch with following crash log:
What I tried
Do I need follow google ML Kit installation guide to use this library with frame processors?![image](https://user-images.githubusercontent.com/6948919/164888318-2c283202-2e69-4b5b-b658-4c49e83081c7.png)
VisionCamera Version
2.13.0
Additional information