问题集:Error:Library projects canno
2017-07-24 本文已影响40人
Android那些事儿
问题:
Error:Library projects cannot set applicationId. applicationId is set to 'hailou.demosandapis' in default config.
解决:
在build.gradle中,将applicationId注释掉。
defaultConfig {
/*applicationId "hailou.demosandapis"*/
minSdkVersion 24
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}