0

我刚刚尝试在 Android(带有 Android 6.0 的 Nexus 5 设备)上使用 distriqt 对话框 ANE 我已经像往常一样添加了 ane 并将其包含在 application.xml 中当我尝试编译时,我得到以下信息:

aapt tool failed:C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:16: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.
C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:20: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.Dialog.Alert'.
C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog.Alert'.
C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:7: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:5: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
C:\Users\SeanJD\AppData\Local\Temp\bbea1b25-409e-40dd-84bb-a8411a70231c\distriqt-extension-dialog-res\values-v21\distriqt_dialog_themebase.xml:6: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.

关于可能导致这种情况的任何想法?

谢谢肖恩

4

1 回答 1

1

这是由于 Dialog ANE 需要 AIR SDK 的 v20(我使用的是 v19)https://github.com/distriqt/ANE-有旧版本的 Dialog ANE(与旧版本的 AIR 兼容)对话/发布

于 2015-11-19T23:10:04.167 回答