报错:Error:Library projects cannot set applicationId. applicationId is set to 'com.orderform' in default config.
原因是app.gradle 中配置如下:

引用的第三方库 progressLibary的 gradle文件如下:

即引用库的gradle配置的 applicationId 和 app文件加下的 gradle 配置的 applicationId 重复,需要删除引用库中的 applicationId,重新编译一下即可。处理如下:

重新build一下项目就ok了。
网友评论