【发布时间】:2014-11-03 16:24:52
【问题描述】:
Google 现在有 Android Lollipop,我打开了我的 sdk 管理器并决定更新几个包......这让我从 2 天开始就感到很烦恼。 Can't find theme
我也试过这个: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
如果有人帮助我尝试运行我的 eclipse Juno,我将非常感激。我也可以说我的一些旧应用程序正在使用较低版本,但是当我创建一个新应用程序时......错误:
import android.support.v7.app.ActionBarActivity;它没有读取 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'.
【问题讨论】:
-
对stackoverflow.com/questions/26431676/… 的回答帮助了我。没有错误了。
标签: java android eclipse updating r.java-file