当我在 CMD(windows 命令提示符)中运行 react-native run-android
时出现以下错误
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
是什么导致了这个问题?
提前致谢。
最佳答案
在 cmd 中执行以下命令检查您的设备是否已连接
adb devices
如果找不到 adb 则在目录下打开
C:\Users\MANGO\AppData\Local\Android\sdk\platform-tools
然后检查设备是否连接
然后你就可以开始你的应用程序了 我希望它能解决你的问题
关于android - 在使用 Android 模拟器启动应用程序时 react native 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48968484/