当我运行'npx react-native run-android'时,Android模拟器不会显示该应用程序

时间:2020-07-18 17:05:24

标签: android react-native-cli

我正在开发带有react-native-cli的Android应用。我已经按照官方网站(最新版本的Node,JDK,python2,Android Studio)中的说明设置了Android环境,但是在运行react-native run-android之后,Android仿真器将不会显示该应用程序。没有错误消息,但是我得到了:

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 967 file(s) to forward-jetify. Using 4 workers...
info Starting JS server...
info Installing the app...
Starting a Gradle Daemon (subsequent builds will be faster)
File C:\Users\Pc\.android\repositories.cfg could not be loaded.
Checking the license for package Android SDK Tools in C:\Users\Pc\AppData\Local\Android\Sdk\licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 26.1.1)".
<=============> 100% CONFIGURING [11m 46s]

我需要怎么做才能使模拟器运行我的应用程序?

0 个答案:

没有答案