简体   繁体   English

Android <5上的react-native run-android

[英]react-native run-android on Android < 5

i'm trying to run an Android App on a simulator with Android V4.1.1, the app is working ok in Android version > 5, but when i try to run the app on Android V4.X the terminal is giving me the next error: 我正在尝试在具有Android V4.1.1的模拟器上运行Android应用程序,该应用程序在Android版本> 5中可以正常运行,但是当我尝试在Android V4.X上运行该应用程序时,终端提示我下一个错误:

Running adb -s xxx.xxx.xx.xxx:5555 reverse tcp:8081 tcp:8081
error: closed
Could not run adb reverse: Command failed: adb -s xxx.xxx.xx.xxx:5555 reverse tcp:8081 tcp:8081

After showing that error the app shows: 显示该错误后,应用程序显示:

Unfortunately, APP_NAME has stopped.

I have the latest version of the Android SDK and tools. 我拥有最新版本的Android SDK和工具。

I found the way to run in Android 4.1.1, in Genymotion it wasn't working, but in the simulator of Android Studio it works. 我找到了在Android 4.1.1中运行的方法,但在Genymotion中却无法运行,但是在Android Studio的模拟器中却可以运行。 I still can't manage to make it run on Geny. 我仍然无法使其在Geny上运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM