如何解决自动省略以“_"开头的文件/文件夹?(下划线)在资产文件夹中 [英] How to workaround autoomitting fiiles/folders starting with "_" (underscore) in assets folder

查看:25
本文介绍了如何解决自动省略以“_"开头的文件/文件夹?(下划线)在资产文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Eclipse 提供的 Android 模拟器上部署 PhoneGap 应用程序.我决定使用 Dojo Toolkit,它严重依赖于_"约定(以_"开头的文件/文件夹意味着这是一个私有/内部模块).

I want to deploy PhoneGap app on the Android simulator provided with eclipse. I decided to use Dojo Toolkit which heavily relies on the " _ " convention (starting a file/folder with " _ " means this is a private/internal module).

基本上问题在于,在部署应用程序时,每个以_"开头的文件/文件夹都被省略了.这完全搞砸了,Dojo 工具包 预期无法正常工作.

Basically the problem is that while deploying the app, every file/folder starting with "_" is omitted. This completely messes things up, Dojo toolkit as exptected fails to work.

有没有办法解决这个问题?

Is there a way to fix this?

推荐答案

First go star this 问题 以便 Google 最终会修复该错误.如果您在 Mac 或 Linux 上运行,则有一个修补过的 aapt 可以修复错误此处.除此之外,您唯一的选择是对 Dojo 进行构建,以便它只存在于一个文件中.

First go star this issue so Google will fix the bug eventually. If you are running on Mac or Linux there is a patched aapt that fixes the bug here. Other than that your only choice is to do a build of Dojo so that it is only in one file.

这篇关于如何解决自动省略以“_"开头的文件/文件夹?(下划线)在资产文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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