问题描述
我遇到了以下错误升级我的 Android SDK中
3.2后:
I ran into the following error after upgrading my android sdk
to 3.2:
-resource-src:
[echo] Generating R.java / Manifest.java from the resources...
[aapt.exe] c:\jenkins\workspace\AndroidAppBranch2.0_conversion\res\values\themes.xml:11: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/AlertDialog'.
我没有改变任何东西在code,而我所做的只是今天早上升级了Android SDK 3.2当 SDK管理器
提示我的唯一。我升级了 SDK
在另一台机器(愚蠢的我......),并同样的错误出现了。
I didn't change anything in the code and the only thing that I did was upgraded the Android SDK to 3.2 this morning when the SDK Manager
prompted me. I upgraded the SDK
on another machine (stupid me...) and the same error showed up.
有没有人遇到这样?
推荐答案
AAPT在3.2打破只有(发现)的解决方法是更换平台工具,以previous版本...
AAPT is broken in 3.2Only (discovered) workaround is replacing platform-tools with a previous version...
<一个href="http://groups.google.com/group/android-developers/browse_thread/thread/550fce9670530d9b/9b2b2aa389dce367?show_docid=9b2b2aa389dce367" rel="nofollow">http://groups.google.com/group/android-developers/browse_thread/thread/550fce9670530d9b/9b2b2aa389dce367?show_docid=9b2b2aa389dce367
这篇关于没有资源的发现,匹配给定的名字'@android:风格/ AlertDialog“错误了最新的Android 3.2 SDK更新后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!