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 报错 #15

Open
zhouxinyong opened this issue May 12, 2016 · 8 comments
Open

react-native run-android 报错 #15

zhouxinyong opened this issue May 12, 2016 · 8 comments

Comments

@zhouxinyong
Copy link

gitfeed

npm install后执行react-native start正常启动服务

但是执行react-native run-android报错(自建的react native项目正常)

@grape1977
Copy link

遇到同样问题

@grape1977
Copy link

刚试了,这个估计是gradle自身的问题,建议使用Android Studio来启动这个项目,然后按它提示来修复这个问题

@grape1977
Copy link

解决了上面这个问题后,又改了一堆问题,现在终于在android模拟器上跑起来了,估计还是环境跟作者不一致造成了,很是担忧RN不停的升级引起项目问题。滴汗中

@zhouxinyong
Copy link
Author

@grape1977 必须要在android studio中启动么 感觉作者push的时候少了某些配置

@grape1977
Copy link

@zhouxinyong 奥,不是的,只是个人感觉android studio报出错比较容易提示如何修改而已。我只是学习LZ的代码的。

@aqnaruto
Copy link

aqnaruto commented Sep 4, 2016

@grape1977 你能跑了么

@kissy-xxy
Copy link

使用Android Studio启动修复后,又找了个能跑通的项目把build.gradle按着修改了下就好了

@cwinl
Copy link

cwinl commented Aug 13, 2019

作者忘了提交 android/gradle/wrapper/gradle-wrapper.jar 等文件导致
gradle-wrapper.properties中需要写 gradle-2.2-all.zip, 太高了不行

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

5 participants