[英]Which build.gradle files should we consider and why?
这个问题涉及我在android studio
gradle
android-annotations
框架与gradle
集成时遇到的问题。 这里https://github.com/excilys/androidannotations/wiki/Building-Project-Gradle提示了如何将其与android项目集成。 不幸的是,我不具备gradle
高级功能,并且Google无法为Gradle Sync错误提供有效的帮助:
Error:(28, 0) Could not find property 'plugin' on root project 'value'.
表示与我在annotations
集成过程中添加的apply plugin 'com.android.application'
。
ENV:
Android Studio (Beta) 0.8.9
------------------------------------------------------------
Gradle 1.4
------------------------------------------------------------
Gradle build time: Monday, September 9, 2013 8:44:25 PM UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.9.3 compiled on April 8 2014
Ivy: non official version
JVM: 1.7.0_65 (Oracle Corporation 24.65-b04)
OS: Linux 3.13.0-37-generic amd64
赞赏任何解决方案。
正确的语法是apply plugin: 'com.android.application'
(注意冒号)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.