mrousavy / vision-camera-image-labeler

VisionCamera Frame Processor Plugin to label images using MLKit Vision
https://github.com/mrousavy/react-native-vision-camera
MIT License
119 stars 28 forks source link

Error while running the example on android devices..... #11

Open vineethdas opened 3 years ago

vineethdas commented 3 years ago

Hello!!!

Was just trying to run the example - vision-camera-image-labeler on an android device, getting the below error after running the command,

react-native run-android

Can you please let me know what the error could be related to?

FAILURE: Build failed with an exception.

BUILD FAILED in 20s

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.

yfunk commented 3 years ago

The Android example on main is broken right now, can you try if #7 works for you?

vineethdas commented 3 years ago

Hi @yfunk ,

Thanks for your reply, I think I tried the changes mentioned in #7, but still getting the error, will wait for the fix on example for android . Cheers :)

yfunk commented 3 years ago

I just checked again, the example app on main currently builds fine for Android (but doesn't start properly afterwards).

Seems like the issue may be related to your environment, you could try some of the solutions from this thread (re-installing the NDK / updating Android Studio should probably do it).

mrousavy commented 3 years ago

7 got merged, does it run for you now?