簡體   English   中英

Distriqt對話框ANE-aapt失敗(錯誤查找資源)

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

我剛剛嘗試在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'.

有什么想法可能導致這種情況?

謝謝肖恩

這是由於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