简体   繁体   English

Distriqt对话框ANE-aapt失败(错误查找资源)

[英]Distriqt Dialog ANE - aapt failed (error finding resources)

I've just tried to use the distriqt dialog ANE on Android (a Nexus 5 device with Android 6.0) I've added the ane as usual and included it in the application.xml When I try to compile I'm getting the following: 我刚刚尝试在Android上使用Distriqt对话框ANE(带有Android 6.0的Nexus 5设备),像往常一样添加了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'.

Any thoughts on what could be causing this? 有什么想法可能导致这种情况?

Thanks Sean 谢谢肖恩

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM