cocos 拷贝Lua资源到android 工程assets目录
2017-09-07 09:58
507 查看
rem copy res src config.json
@echo off
set DIR=%~dp0
set APP_ASSETS_ROOT=%DIR%frameworks\runtime-src\proj.android\assets\
echo APP_ASSETS_ROOT = %APP_ASSETS_ROOT%
if exist %APP_ASSETS_ROOT% rmdir /s /q %APP_ASSETS_ROOT%
mkdir %APP_ASSETS_ROOT%
xcopy /s /q "%DIR%res\*.*" %APP_ASSETS_ROOT%res\*.* /y
xcopy /s /q "%DIR%src\*.*" %APP_ASSETS_ROOT%src\*.* /y
copy "%DIR%config.json" %APP_ASSETS_ROOT%config.json
@echo off
set DIR=%~dp0
set APP_ASSETS_ROOT=%DIR%frameworks\runtime-src\proj.android\assets\
echo APP_ASSETS_ROOT = %APP_ASSETS_ROOT%
if exist %APP_ASSETS_ROOT% rmdir /s /q %APP_ASSETS_ROOT%
mkdir %APP_ASSETS_ROOT%
xcopy /s /q "%DIR%res\*.*" %APP_ASSETS_ROOT%res\*.* /y
xcopy /s /q "%DIR%src\*.*" %APP_ASSETS_ROOT%src\*.* /y
copy "%DIR%config.json" %APP_ASSETS_ROOT%config.json
相关文章推荐
- Android 读取Assets资源文件或目录,并拷贝到其他目录下
- Android递归拷贝assets资源到指定目录
- Android读取assets目录下的资源
- Android-拷贝assets目录文件
- Android读取assets目录下的资源
- Android学习之遍历拷贝assets下的目录
- Android 资源目录 assets 与 res/raw 的不同
- android assets目录下的资源读取
- android三个特殊的资源目录 /res/xml /res/raw 和 /assets .
- android资源目录---assets与res/raw区别
- Android开发之assets目录下资源使用总结
- android资源目录---assets与res/raw区别
- Android开发之资源目录assets与res/raw的区别分析
- android资源目录---assets与res/raw区别
- Android开发之assets目录下资源使用总结
- android拷贝assets目录下文件到其他目录
- android资源目录---assets与res/raw区别
- Android读写assets目录下面的资源文件(文件夹)
- android中拷贝assets下的资源文件到SD卡中(可以超过1M)
- android中拷贝assets下的资源文件到SD卡中(可以超过1M)