无法生成签名的APK

时间:2015-08-18 13:46:06

标签: android android-studio android-appcompat

由于我将2223增加到Install Repository and sync project,我无法生成已签名的APK。 每次我尝试生成签名的APK时,都会收到此错误:

  

无法解决:com.android.support:appcompat-v7:23.2.1

当我点击{{1}}时,我收到此错误:

  

忽略未知的包过滤器' extra-android-m2repository'警告:包过滤器删除了所有包。没有什么可以安装的。请考虑在没有包过滤器的情况下再次尝试更新。

另外,我有互联网连接 我尝试使用SDK Manager更新库,并重新启动Android Studio,但它没有解决问题。

1 个答案:

答案 0 :(得分:4)

您正在尝试使用不存在的支持库版本。最新版本的支持库是23.0.0,而不是23.2.1。

compile 'com.android.support:appcompat-v7:23.2.1'替换为compile 'com.android.support:appcompat-v7:23.0.0'

相关问题