Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

react-native run-android 时 出现错误 #8

Open
minfei opened this issue Feb 22, 2016 · 7 comments
Open

react-native run-android 时 出现错误 #8

minfei opened this issue Feb 22, 2016 · 7 comments

Comments

@minfei
Copy link

minfei commented Feb 22, 2016

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:installDebug'.

    Failed to install on any devices.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

@poberwong
Copy link
Owner

首先提问你一个问题:

npm install 是否运行了?

如果运行了,那么先尝试iOS平台是否能够正常运行,因为代码都是同一套的。iOS相比Android更加稳定,调试更加方便。
你这个是apk包安装失败,可能不是代码的原因,或许和adb有关系,欢迎多多交流~
myInfo={name: '汪鹏波', gender: 'male', qq: '634611300'} 欢迎来访~

@ecdsa2008
Copy link

我也遇到了这个问题,解决方案暂时没有找到,可以确定的是 不是adb 的问题

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:installDebug'.

Failed to install on any devices.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

@poberwong
Copy link
Owner

额..... 我这边一直没问题.....算了,周末加一下CI,这样就好多了

@gzfgeh
Copy link

gzfgeh commented Jun 20, 2016

我也遇到了问题,运行就 报这个错误,could not get the native call queue: bridge configuration is not available

@yangxiaoge
Copy link

@gzfgeh 碰到了跟你一样的问题, 你的解决了吗?

@yeoggc
Copy link

yeoggc commented Sep 27, 2016

@gzfgeh @yangxiaoge 我也遇到这问题,请问@bob1993 怎么解决?

@poberwong
Copy link
Owner

Rn版本更新太多了,而很多库都是带有^标记符的,npm install之后,一些库就会被升级为不兼容状态,我在这个项目没有写Native代码,因此建议大家在clone下来之后,先通升级react-native到最新版本,然后过react-native upgrade更新一下ios和android的native工程,最后在调试程序。毕竟基于老版本的reactnaive调试代码是没有意义的,最好能够搭配官方英文文档查看。

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

No branches or pull requests

6 participants