-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Errors - while running the react-native run-android #4
Comments
Fixed it by commenting the release block on build.gradle file!! |
Got another error: FAILURE: Build failed with an exception.
BUILD FAILED in 47s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. |
Fixed it by updating the ndkVersion = "21.3.6528147" on build.gradle! |
Now getting the below error : error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. FAILURE: Build failed with an exception.
ninja: error: '../../../../build/third-party-ndk/hermes/jni/armeabi-v7a/libhermes.so', needed by '../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libVisionCamera.so', missing and no known rule to make it
|
The above error was fixed using the solutions found at https://stackoverflow.com/questions/57036317/react-native-java-lang-unsatisfiedlinkerror-couldnt-find-dso-to-load-libherm |
Got the next error as : error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. FAILURE: Build failed with an exception. |
Was able to fix the issue changing the below code, and bring up the application! ReadableNativeMap state = stateWrapper.getStateData(); |
Hi @mrousavy ,
This is truly amazing work!!
I was trying the instructions to run it for my android device, on a windows machine, got the below error:
Was hoping if you too had any similar issue:
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Usersxxxxxvision_camera\Colorwaver\android\app\build.gradle' line: 162
What went wrong:
A problem occurred evaluating project ':app'.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Users\xxxxx\Colorwaver\android\app\build.gradle' line: 162
What went wrong:
A problem occurred evaluating project ':app'.
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.
Get more help at https://help.gradle.org
The text was updated successfully, but these errors were encountered: