机器人水库/布局文件夹不包括在APK文件(但包括在ANE) [英] Android res/layout Folder not included in the APK file (but included in the ANE)

查看:288
本文介绍了机器人水库/布局文件夹不包括在APK文件(但包括在ANE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在上一个Adobe ANE Android的扩展与资源问题:

I'm having a problem with resources on an Adobe ANE Android extension:

android.content.res.Resources@NotFoundException:id.myView

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)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆