由於我將compileSdkVersion
從22
增加到23
,因此我無法生成簽名的APK。
每次我嘗試生成簽名的APK,我收到此錯誤:無法生成簽名APK
Failed to resolve: com.android.support:appcompat-v7:23.2.1
當我點擊Install Repository and sync project
,我得到這個錯誤:
Ignoring unknown package filter 'extra-android-m2repository' Warning: The package filter removed all packages. There is nothing to install. Please consider trying to update again without a package filter.
另外,我有一個互聯網連接。
我試圖使用SDK Manager更新庫,並重新啓動Android Studio,但它沒有解決問題。
你的'build.gradle'在哪裏?你的錯誤在哪裏? –
com.android.support:appcompat-v7:23.2.1不存在 –