2020-04-23

2020-04-23  本文已影响0人  迷途小书虫88

#react-native模拟器报错信息提示:

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

解决方案:

linux:

1、cd android

2、sudo ./gradlew clean

windows:

1、cd android

2、gradlew clean

上一篇 下一篇

猜你喜欢

热点阅读