Android studio 1.0 Library projects cannot set applicationId. applicationId is set to '' in default configuration

I have set "applicationId aviarySdkPackageName" in Aviary build.gradle. I have updated android studio and it shows error: library projects cannot set applicationId. applicationId is set to '' in the default configuration. But after I removed this line, there are many errors in Aviary. Do you know what to do?

+3


source to share


2 answers


Try removing the applicationId parameter from defaultConfig in your build.gradle library files .



This should work

+13


source


   # 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.

      



0


source







All Articles