4

我在 Aviary 的 build.gradle 中设置了“applicationId aviarySdkPackageName”。我更新了android studio,它显示错误:库项目无法设置applicationId。applicationId 在默认配置中设置为 ''。但是在我删除这行之后,Aviary 中出现了很多错误。你知道我该怎么做吗?

4

2 回答 2

23

尝试从库的 build.gradle文件中的defaultConfig中删除applicationId参数。

那应该工作

于 2014-12-09T14:41:09.740 回答
0
   # ApplicationId in Library Projects#

    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.
于 2017-02-22T10:53:01.177 回答