Android Studio Error - compile app direct to handset

Asked

Viewed 290 times

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!

  • 1

    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.

  • 1

    I was able to identify, I did not have the Samsung driver, after installing I was able to build it. Thanks @Rogersmarques.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.