找回密码
 立即注册
搜索

互动交流 关于vivi手机读写接口 not a function求助

2
回复
1723
查看
[复制链接]

3

主题

3

帖子

30

积分

 楼主| 2018-7-27 20:51:43 显示全部楼层 |阅读模式
vivi手机型号: E35E8ECA-A632-4577-AE19-FB40C01CBCF5.png 个人应用在oppo以及华为手机文件的读写操作正常,在该款手机上读写接口会报not a function; 错误日志: undefined:383: TypeError: _system2.default.writeText is not a function TypeError: _system2.default.writeText is not a function at e.writeFile (eval at ur (unknown source), :383:22) at t. (:1:8770) at t.fireEvent (:3:20039) at e.Uc.fireEvent (:4:27311) at de (:1:17937) at Jc.1 (:4:21559) at :2:18566 at Array.forEach (native) at Object.vr [as processCallbacks] (:2:18463) at Object.createPage.t.processInvokeCallback.tu.(anonymous function) [as execJSBatch] (:2:24141) com.eclipsesource.v8.V8ScriptExecutionException at com.eclipsesource.v8.V8._executeVoidFunction(Native Method) at com.eclipsesource.v8.V8.executeVoidFunction(SourceFile:1004) at com.eclipsesource.v8.V8Object.executeVoidFunction(SourceFile:418) at org.hapjs.render.jsruntime.JsThread.a(SourceFile:599) at org.hapjs.render.jsruntime.JsThread.a(SourceFile:49) at org.hapjs.rende undefined:398: TypeError: _system2.default.readText is not a function TypeError: _system2.default.readText is not a function at e.readFile (eval at ur (unknown source), :398:22) at t. (:1:8770) at t.fireEvent (:3:20039) at e.Uc.fireEvent (:4:27311) at de (:1:17937) at Jc.1 (:4:21559) at :2:18566 at Array.forEach (native) at Object.vr [as processCallbacks] (:2:18463) at Object.createPage.t.processInvokeCallback.tu.(anonymous function) [as execJSBatch] (:2:24141) com.eclipsesource.v8.V8ScriptExecutionException at com.eclipsesource.v8.V8._executeVoidFunction(Native Method) at com.eclipsesource.v8.V8.executeVoidFunction(SourceFile:1004) at com.eclipsesource.v8.V8Object.executeVoidFunction(SourceFile:418) at org.hapjs.render.jsruntime.JsThread.a(SourceFile:599) at org.hapjs.render.jsruntime.JsThread.a(SourceFile:49) at org.hapjs.render.j ps:官方demo的读写操作同样会报该错误。
回复

使用道具 举报

0

主题

56

帖子

280

积分

2018-7-30 21:27:39 显示全部楼层
请问是哪个接口 安装的引擎是什么 预览版吗
回复

使用道具 举报

0

主题

56

帖子

280

积分

2018-7-30 21:28:58 显示全部楼层
文档写的是1010版本的引擎才支持file.writeText(OBJECT)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册