我试图运行在Mac上的反应本地人,我运行Android模拟器在后台和运行react-native run-android
,我也得到:阵营本地项目将无法在Mac上运行
=> react-native run-android
Scanning 564 folders for symlinks in /Users/sao/Conv/Conv2/node_modules (19ms)
Starting JS server...
Building and installing the app on the device (cd android && ./gradlew installDebug)...
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
的反应真棒项目( react-native init
)在这台机器上正常工作,这个项目在Windows上运行良好。
它说,检查错误,上面的内容,但有没有错误上面...
如何使它工作的任何想法?
如果你还停留在它请检查我的答案,让我知道是否能解决这个问题。 –
您是否已将JDK安装到您的MAC中? – eden
是的反应真棒项目的作品。 @EnieJakiro – shinzou