-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Execution failed for task ':react-native-vision-camera:generateJsonModelDebug'. > java.lang.NullPointerException (no error message)🐛 #1284
Comments
Hey everyone, i think i found a solution to it, please try this and don't forget to come back to indicate if it works for you! 😊
|
@Jaybee4real - I have two higher versions: gradle 7.2 and build:gradle:7.0.1 and I still can't build for android when this library is used in my app. Perhaps the combination of only 7.0.2 and 7.0.0 work? |
Yes, that is what I found out @princefishthrower, you can try that |
@Jaybee4real - I still can't build after implementing these changes. What version of |
"react-native-vision-camera": "^2.14.1" |
I fixed it by following the below steps :)
|
@Jaybee4real I followed these steps, but I end up having this error, do you know how to fix it?
|
Check your bash_profile, do you see these values there? (code ~/.bash_profile)
(Especially the JAVA_HOME) (EDIT): If you use a mac, you might want to check your ~/.zshrc file |
Will be closing this now |
What were you trying to do?
I was trying to build the app with the package on android
Reproduceable Code
What happened instead?
The app crashes with the message above at 97% with the below error
Relevant log output
Device
Samsung S10 plus (Android 12)
VisionCamera Version
2.14.1
Additional information
The text was updated successfully, but these errors were encountered: