Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

下载后无法运行,无法启动adb #27

Open
biosrs opened this issue Jun 13, 2017 · 0 comments
Open

下载后无法运行,无法启动adb #27

biosrs opened this issue Jun 13, 2017 · 0 comments

Comments

@biosrs
Copy link

biosrs commented Jun 13, 2017

根据安装指南运行下载后的程序,在运行react-native run-android命令的时候最后报这个错误.


Installing APK 'app-debug.apk' on 'React1(AVD) - 7.1.1' for app:debug
Installed on 1 device.

BUILD SUCCESSFUL

Total time: 55.064 secs
Running C:\Users\MyPC\AppData\Local\Android\android-sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
Starting the app on emulator-5554 (C:\Users\MyPC\AppData\Local\Android\android-sdk/platform-tools/adb -s emulator-5554 shell am start -n com.reactnativecnblogs/.MainActivity)...
Starting: Intent { cmp=com.reactnativecnblogs/.MainActivity }
Error type 3
Error: Activity class {com.reactnativecnblogs/com.reactnativecnblogs.MainActivity} does not exist.


${projectFolder}\android\app下面的build.gradle文件和${projectFolder}\android\app\src\main下面的AndroidManifest.xml文件里面的applicationid是一样的,不知道问题出在什么地方,运行别的reactnative程序没问题.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant