本文主要是介绍Library projects cannot set applicationId. applicationId is set to ‘x.x.x‘ in default config.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题描述:
在导入一个项目时,提示“Error:Library projects cannot set applicationId. applicationId is set to 'com.xxx.yyy' in default config.”,显然,library的build.gradle中不能指定“applicationId”。
解决办法:
我尝试把 build.gradle(:app)文件里面的applicationId"com.xxx.yyy"这一行注释掉,然后在Build->MakeProject
成功了。可以导入了。
这篇关于Library projects cannot set applicationId. applicationId is set to ‘x.x.x‘ in default config.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!