1***@163.com
1***@163.com
  • 发布:2024-10-28 19:18
  • 更新:2024-10-28 19:18
  • 阅读:69

uniapp打包自定义基座运行后提示报错

分类:uni-app

19:14:15.120 [Vue warn]: Error in v-on handler: "Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)"

(found at pages/index/index.vue:1)
19:14:15.124 Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)
19:14:15.271 执行 at static/html/index.html:966
19:14:17.215 [Vue warn]: Error in v-on handler: "Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)"

(found at pages/index/index.vue:1)
19:14:17.215 Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)
19:15:08.897 [Vue warn]: Error in v-on handler: "Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)"

(found at pages/index/index.vue:1)
19:15:08.936 Error: targetMethod error::java.lang.NoSuchMethodError: No static method requestSystemPermission$default(Lio/dcloud/uts/UTSAndroid;Landroid/app/Activity;Lio/dcloud/uts/UTSArray;Lkotlin/jvm/functions/Function2;Lkotlin/jvm/functions/Function2;ZILjava/lang/Object;)V in class Lio/dcloud/uts/UTSAndroid; or its super classes (declaration of 'io.dcloud.uts.UTSAndroid' appears in /data/app/~~nKZMBwMW8vUOVnv0wlzR_A==/com.yarong18-6q_fipJ_Ptjqm0j-T9MOUQ==/base.apk!classes2.dex)
之前运行都没有任何报错,今天运行突然报错,请问下这是什么错误,我也没有改动代码

2024-10-28 19:18 负责人:无 分享
已邀请:

要回复问题请先登录注册