Tuesday 22 November 2016

Error : Library projects cannot set applicationId. applicationId is set to 'com.sample.example' in default config.

16:26:00 Posted by Kumanan , ,

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.

Removing applicationId variable from the library's build.gradle file should resolve the issue.