更新的Android工作室到1.0后,我看到这样的错误:
After updating Android Studio to 1.0, I see this error:
错误:库项目不能设置的applicationID。的applicationID设置的 在默认配置com.super.app。的
我更新的插件摇篮的建议,但我不知道如何解决这个问题。
I updated the Gradle plugin as suggested but I did not understand how to fix this.
在此基础上的信息的:
的applicationID在库项目
ApplicationId in Library Projects
您不能使用的applicationID自定义库项目的包。包名称已被固定在库项目(并在清单中指定的packageName)。该摇篮插件并没有强制执行这个限制更早。
You cannot use applicationId to customize the package of a library project. The package name has to be fixed in library projects (and specified as packageName in the manifest). The Gradle plugin did not enforce this restriction earlier.
从库的 build.gradle
文件中删除的applicationID变量应该可以解决这个问题。
Removing applicationId variable from the library's build.gradle
file should resolve the issue.
上一篇:我可以设置选项显式和严格选项上一个项目/解决方案的水平?选项、严格、解决方案、水平
下一篇:如何修复一个Eclipse / Android的安装?在图形的XML编辑器PNG负荷问题编辑器、负荷、图形、问题