谷歌現在有Android棒棒糖,我打開了我的SDK管理器,並決定更新幾個軟件包...這是從2天裏偷偷摸摸的。 Can't find theme檢索項目的父項時出錯:找不到與給定名稱'Theme.AppCompat.Light'匹配的資源。我的R.java失蹤
我也試過這樣:Failed to rename directory
不成功。我試圖從谷歌下載一個新的sdk並從頭開始安裝,但沒有再次運行。 這是錯誤。
D:\~\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
D:\~\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
D:\~\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[1]: https://stackoverflow.com/questions/8839255/failed-to-rename-directory-tools-to-temp-toolpackage-old01-in-c-android-sdk-win
如果有人幫我嘗試運行我的日食Juno,我將非常感謝。我也可以說,我的一些舊的應用程序與較低版本的工作,但是當我創建一個新的...錯誤:
import android.support.v7.app.ActionBarActivity;
It is not reading the android.suppor.v7
那麼,如果我把它引用到我的Android應用我有!標誌和很多錯誤,如:
D:\Android Studio\adt-bundle-windows-x86_64-20140702\sdk\extras\android\support\v7\appcompat\res\values-v21\themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
D:\Android Studio\adt-bundle-windows-x86_64-20140702\sdk\extras\android\support\v7\appcompat\res\values-v21\themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
D:\Android Studio\adt-bundle-windows-x86_64-20140702\sdk\extras\android\support\v7\appcompat\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
從答案做各種事情http://stackoverflow.com/questions/26431676/appcompat-v721-0-0-no-resource-found-that-matches-the-given-name-attr-andro幫助我。沒有錯誤了。 – 2016-07-04 00:08:41