アンドロイド版sdkリビジョンをr12にアップデートした後、次のエラーが発生しました。android sdk r12を更新した後のAndroidカスタムアラートダイアログエラーr12
error: Error retrieving parent for item: No resource found that matches the given name '@android:style/AlertDialog'.
ここにmy xmlファイルがあります。
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomDialogTheme" parent="@android:style/AlertDialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowAnimationStyle">@android:style/Theme.Dialog</item>
</style>
</resources>
私は、コードと私は、Android SDKをアップグレードされたなかっただけの事で何も変更しませんでした。
申し訳ありませんが、私の間違い「@」記号を入れて...しかし、それは私に同じエラーを与えます.. –
与えられたスレッドはまた@androidを使用するよう指定しています:style/AlertDialog !!! –
...しかし、以下のコメントでは、実際に動作する '@android:style/Theme.Dialog'を使用しています。 –