Android Studio依赖项目出现unspecified on project app resolves to an APK archive which is not supported
2017-04-19 10:10
603 查看
相信有些人也遇到过,在android studio开发的时候 突然想依赖另外一个Modue 如果直接去设置依赖就会出现
Error:Dependency EwMesPid:barcodescanner:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency.的错误,其实这个就是需要把你所依赖项目的build.gradle文件中第一行
apply plugin: 'com.android.application'
//把上面的替换成下面的就可以了
apply plugin: 'com.android.library'当然这样还是不够 你继续同步还会出现这个错误
Error:Library projects cannot set applicationId. applicationId is set to 'com.aaa.xxx' in default config.这个问题也很简单,你只需要删除build.gradle文件中 把applicationId "com.aaa.xxx"这一句删掉就行了
defaultConfig {
applicationId "com.aaa.xxx"
minSdkVersion 15
就这样吧
Error:Dependency EwMesPid:barcodescanner:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency.的错误,其实这个就是需要把你所依赖项目的build.gradle文件中第一行
apply plugin: 'com.android.application'
//把上面的替换成下面的就可以了
apply plugin: 'com.android.library'当然这样还是不够 你继续同步还会出现这个错误
Error:Library projects cannot set applicationId. applicationId is set to 'com.aaa.xxx' in default config.这个问题也很简单,你只需要删除build.gradle文件中 把applicationId "com.aaa.xxx"这一句删掉就行了
defaultConfig {
applicationId "com.aaa.xxx"
minSdkVersion 15
就这样吧
相关文章推荐
- Android Studio 解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- (转)Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio解决unspecified on project app resolves to an APK archive which is not supported
- Android Studio添加应用作为依赖时报错Error:Dependency MonthText:xlistview:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: 及其解决方案
- Android Studio 报错:unspecified on project app resolves to an APK archive which is not supported解决方案
- Android Studio添加应用作为依赖时报错Error:Dependency MonthText:xlistview:unspecified on project app resolves to an APK archive which is not
- unspecified on project XXX resolves to an APK archive which is not supported as a compilation depend
- Android studio编程时出现的错误:unspecified on project app resolves to an APK archive which is not supported
- AndroidStudio解决unspecifiedonprojectappresolvestoanAPKarchivewhichisnotsupported
- [移动开发]AndroidStudio解决unspecifiedonprojectappresolvestoanAPKarchivewhichisnotsupported