0
I’m trying to run the command to compile a direct app cmd for mobile, however I’m falling in an expection, need help:
Code I’m running is
react-native run-android
Note: I plug my phone (I have left the USB debugging mode active), open the command prompt and type this command above, appears the following error:
Failure: Build failed with an Exception. *What Went Wrong: Execution failed for task ':app:installDebug'.
com.android.Builder.testing.api.Deviceexception: No Connected Devices!
Looking at msg it says it has no cell phone connected, you can try to check whether in the tool you are using is not missing the adb drives or even the drives of your mobile phone installed on the computer.
– Steve Rogers
I was able to identify, I did not have the Samsung driver, after installing I was able to build it. Thanks @Rogersmarques.
– Diogo dgo