提交 98935488 编写于 作者: 杜庆泉's avatar 杜庆泉

Update utsandroid.md

上级 89a62062
......@@ -599,17 +599,19 @@ UTSAndroid.gotoSystemPermissionActivity(UTSAndroid.getUniActivity()!,permissionN
/**
* 代码包文件
* 本地调试执行结果:/storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__XXXXXXX/www/static/logo.png
* 云打包执行结果 :/android_asset/apps/__UNI__XXXXXXX/www/static/logo.png
* /
console.log(UTSAndroid.convert2AbsFullPath('static/logo.png'))
/**
* 沙盒文件
* 本地调试执行结果:/storage/emulated/0/Android/data/io.dcloud.uniappx/static/logo.png
* 云打包执行结果 :/storage/emulated/0/Android/data/io.dcloud.uniappx/static/logo.png
* /
console.log(UTSAndroid.convert2AbsFullPath('unifile://sandbox/static/logo.png'))
/**
* 沙盒外文件 包含相对路径
* 本地调试执行结果:/storage/emulated/0/Android/data/io.dcloud.uniappx/apps/__UNI__XXXXXXX/www/io.dcloud.HBuilder/apps/HBuilder/www/static/logo.png
*
* 云打包执行结果 :/android_asset/apps/__UNI__XXXXXXX/www/io.dcloud.HBuilder/apps/HBuilder/www/static/logo.png
* /
console.log(UTSAndroid.convert2AbsFullPath('../../../io.dcloud.HBuilder/apps/HBuilder/www/static/logo.png'))
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册