问题集:Error:Library projects cannot set applicationId

问题:

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"

    }
    原文作者:Android那些事儿
    原文地址: https://www.jianshu.com/p/2ef25801be22
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞