|
vivi手机型号:
个人应用在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的读写操作同样会报该错误。
|
|