使用Visual Studio Code调试React Native报错

报错信息:

[Error] Error: Unknown error: not all success patterns were matched.
It means that "react-native run-android" command failed. Please, check the View -> Toggle Output -> React Native, View -> Toggle Output -> React Native: Run android output windows.

 

解决的办法是启动模拟器,默认是安装到模拟器上的,我插了手机,只是没有被识别到。

后来把手机的usb调试打开后,也可以成功的把应用安装到手机上调试了。

原文地址:https://www.cnblogs.com/modou/p/10164603.html