2011-07-18 59 views
3

我升級我的android sdk到3.2後跑進了以下錯誤後:沒有資源發現匹配給定名稱「@android:風格/ AlertDialog」的錯誤了最新的Android 3.2 SDK更新

-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'. 

我沒有」不會改變代碼中的任何內容,而我所做的唯一事情是在SDK Manager提示我時將Android SDK升級到3.2。我在另一臺機器上升級了SDK(愚蠢的我......),同樣的錯誤出現了。

有沒有人遇到過這個?

+0

這裏是一個很好的解決方案:http://daniel-codes.blogspot.com/201 1/08 /新增至android-more-style-restrictions.html – Oli

回答

相關問題