问题描述
我在上一个Adobe ANE Android的扩展与资源问题:
I'm having a problem with resources on an Adobe ANE Android extension:
android.content.res.Resources@NotFoundException:id.myView
我有一个XML布局文件,它包含在ANE文件(由解压缩ANE文件,展望检查META-INF / ANE / Android的ARM
)
I have a xml layout file, which is included in the ANE file (checking by unzipping the ANE file and looking into META-INF/ANE/Android-ARM
)
在APK文件,在布局
文件夹中(使用Flash Builder 4.6生成)(在 RES
)的顶层是缺失的,但它包含深的资产
文件夹:
In the APK file (generated with Flash Builder 4.6), the layout
folder (inside res
) at the top level is missing, but it's included deep in the assets
folder:
- META-INF
- res
drawable
drawable-hdpi
drawable-ldpi
drawable-mdpi
raw
- assets
META-INF
AIR
extensions
org.dornad.ane.MyTestExtension
META-INF
ANE
Android-ARM
drawable-hdpi
drawable-mdpi
drawable-xhdpi
layout
values
任何想法?
推荐答案
解决:这是在Ant脚本的一个问题,用于编译ANE
Solved: It was a problem in the Ant Script used to Compile the ANE.
这篇关于机器人水库/布局文件夹不包括在APK文件(但包括在ANE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!