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

添加x86架构支持 #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

添加x86架构支持 #30

wants to merge 1 commit into from

Conversation

puti94
Copy link

@puti94 puti94 commented May 7, 2019

希望crn-cli 模块的模板 安卓app的gradle 开发模式能添加x86架构,能在模拟器上运行

@hu-qi
Copy link

hu-qi commented May 8, 2019

实测有效!
修改前run-android报错:
image
刚好之前看到您有提交这个PR,我开的是Nexus_5X_API_19(AVD) - 4.4.2,好像是x86的,原来的.gradle里边不支持。
修改后,成功启动:
image
但还是有问题,求大佬指点:

info Running D:\test\AndroidStudio/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
adb.exe: error: closed
info Could not run adb reverse: Command failed: D:\test\AndroidStudio/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
info Starting the app on emulator-5554 (D:\test\AndroidStudio/platform-tools/adb -s emulator-5554 shell am start -n ctrip.wireless.android.crn/ctrip.wireless.android.crn.MainActivity)...
WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
Starting: Intent { cmp=ctrip.wireless.android.crn/.MainActivity }

@puti94
Copy link
Author

puti94 commented May 8, 2019

可以运行应该就没问题了吧,WARNING可以不用管

@hu-qi
Copy link

hu-qi commented May 8, 2019

可以运行应该就没问题了吧,WARNING可以不用管

这个warning导致服务直接被结束掉了
image
可能和我的安卓环境有关

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

Successfully merging this pull request may close these issues.

2 participants