error: more than one device/emulator 'adb' is not recognized as an internal or external command,

'adb' is not recognized as an internal or external command,
operable program or batch file.
Starting the app (D:\ProgramFile\Android\androidsdk/platform-tools/adb shell am start -n com.rnapp/com.rnapp.MainActivity...
error: more than one device/emulator
 

错误原因:

有多个设备或Android模拟器连接;

解决方案:

关闭只剩一个再运行就可以了;

猜你喜欢

转载自blog.csdn.net/niuba123456/article/details/81837126
今日推荐