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

编译报错,求解决 #19

Closed
yswheye opened this issue Jan 12, 2017 · 5 comments
Closed

编译报错,求解决 #19

yswheye opened this issue Jan 12, 2017 · 5 comments

Comments

@yswheye
Copy link

yswheye commented Jan 12, 2017

Error:Could not get unknown property 'com' for project ':app' of type org.gradle.api.Project.

@yswheye
Copy link
Author

yswheye commented Jan 12, 2017

看了其他的issues,我的环境是ubuntu,看到其他人也遇到了。这个怎么解决?

@north2016
Copy link
Owner

ubuntu...没用过啊

@north2016
Copy link
Owner

估计是插件识别不出来

@north2016
Copy link
Owner

我用的是本地的插件。未发布状态。
有可能你的电脑系统不能识别,但是发布出去肯定是能识别的
gradle插件发布到本地:

http://kvh.io/cn/embrace-android-studio-gradle-plugin.html

看这篇博客

@north2016
Copy link
Owner

运行之前需要修改点
  1.修改gradle.properties文件中的PLUGIN_URL值为本地目录
  2.运行 ./gradlew -p buildsrc clean build uploadArchives --info

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

2 participants