15:35:10.563 java.lang.NoSuchMethodError: No static method copy(Ljava/io/InputStream;Ljava/io/OutputStream;)J in class Landroid/os/FileUtils; or its super classes (declaration of 'android.os.FileUtils' appears in /system/framework/framework.jar)
at uts.sdk.modules.filePicker.IndexKt.saveFileFromUri(index.kt:293)
at uts.sdk.modules.filePicker.IndexKt.getRealPathFromURI(index.kt:237)
at uts.sdk.modules.filePicker.IndexKt$filePickerStart$1.invoke(index.kt:183)
at uts.sdk.modules.filePicker.IndexKt$filePickerStart$1.invoke(index.kt:178)
at io.dcloud.feature.utsplugin.ProxyModule.onActivityResult(UTSProxyModule.kt:54)
at com.taobao.weex.bridge.WXModuleManager.onActivityResult(WXModuleManager.java:410)
at com.taobao.weex.WXSDKInstance.onActivityResult(WXSDKInstance.java:1559)
at io.dcloud.feature.weex.WXBaseWrapper.onActivityResult(WXBaseWrapper.java:200)
at io.dcloud.feature.weex.WeexInstanceMgr$4.onEach(WeexInstanceMgr.java:788)
at io.dcloud.feature.weex.WeexInstanceMgr$4.onEach(WeexInstanceMgr.java:785)
at io.dcloud.feature.weex.WeexInstanceMgr.forEach(WeexInstanceMgr.java:851)
at io.dcloud.feature.weex.WeexInstanceMgr.onActivityResult(WeexInstanceMgr.java:785)
at io.dcloud.feature.weex.WeexFeature.onActivityResult(WeexFeature.java:88)
at io.dcloud.common.DHInterface.BaseFeature.onExecute(Unknown Source)
at io.dcloud.e.b.e.callSysEventListener(Unknown Source)
at io.dcloud.e.b.e.onExecute(Unknown Source)
at io.dcloud.e.b.c.a(Unknown Source)
at io.dcloud.e.b.a.processEvent(Unknown Source)
at io.dcloud.e.c.c.dispatchEvent(Unknown Source)
at io.dcloud.e.c.c.onActivityExecute(Unknown Source)
at io.dcloud.e.c.d.a(Unknown Source)
at io.dcloud.EntryProxy.onActivityExecute(Unknown Source)
at io.dcloud.b.onActivityResult(Unknown Source)
at io.dcloud.WebAppActivity.onActivityResult(Unknown Source)
at android.app.Activity.dispatchActivityResult(Activity.java:7013)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4086)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4133)
at android.app.ActivityThread.-wrap20(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1534)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
at uni_modules/file-picker/utssdk/app-android/index.uts:360
15:35:10.571 [Object] {"code":"1002","errMsg":"filePicker:fail","detail":"文件不存在"} at pages/index/index.vue:34
15:35:10.578 App Show at App.vue:7
7***@qq.com
- 发布:2023-12-08 15:34
- 更新:2023-12-08 15:34
- 阅读:139
你好,运行android 示例项目选择文件后出错 {"code":"1002","errMsg":"filePicker:fail","detail":"文件不存在"}
分类:uni-app
关联插件:
安卓iOS 双端APP文件选择uts插件
0 个回复