Android Studio Error - compiling app directly to device

0

I'm trying to run the command to compile an app from cmd to mobile, however I'm falling into an expection, I need help:

The code I am running is

react-native run-android

Note: I installed my phone (I already left the usb debugging mode), I open the command prompt and I type this command above, the following error appears:

Failure: Build failed with an exception. * What went wrong: Execution failed for task ': app: installDebug'.

  

com.android.builder.testing.api.DeviceException: No connected devices!

    
asked by anonymous 27.01.2018 / 01:18

0 answers