Android Studio 导入一个Module,没做其他,结果报错
Error:Unable to resolve dependency for ':app@preview/compileClasspath': Could not resolve project :alarm_mc
(1)将Module的build.gradle中apply plugin: 'com.android.application'改为apply plugin: 'com.android.library';
(2)把applicationId "com.example.alarm_mc 这个包名的声明删掉就好了.
网友评论