2016-10-10 21 views
5
Warning:Ignoring Android API artifact com.google.android:android:2.2.1 for debug 
Warning:Ignoring Android API artifact com.google.android:android:2.2.1 for release 

Android studio升級到2.2後,編譯器版本會出現如下錯誤,這是爲什麼?不明白,請求解決,謝謝。忽略Android API神器com.google.android:android:2.2.1進行調試/發佈

升級到AndroidStudio的最新版本,再也不會出現這個問題,是該工具的錯誤?

+1

查看相關http://stackoverflow.com/questions/37324917/new-warning-when-building-android-app-with-gradle –

+0

讀它,但我並沒有解決我的問題。 – anonymous

回答

0

您是否嘗試過在你的build.gradle使用最新版本?

dependencies { 
     classpath 'com.android.tools.build:gradle:2.2.1' 
} 
+1

似乎不是在我的情況,以幫助。 –

+0

增加了一個參考搖籃輸出,但它並沒有解決我的問題 – anonymous