1***@qq.com
1***@qq.com
  • 发布:2023-08-31 11:55
  • 更新:2023-08-31 14:18
  • 阅读:342

Android原生集成MUI 报错 java.lang.ClassNotFoundException: io.dcloud.common.util.net.http.LocalServer2

分类:MUI

使用2023年08月17日发布的sdk版本,运行时报错:java.lang.ClassNotFoundException: io.dcloud.common.util.net.http.LocalServer2。导致app一直在启动页转圈,请问该如何解决?是否有需要引入的arr包?

2023-08-31 11:55 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com (作者)

测试下来,运行一直转圈和这个报错无关,而是我漏引入底座需要的依赖:

// 基座需要,必须添加  
implementation 'com.github.bumptech.glide:glide:4.9.0'  
implementation 'com.alibaba:fastjson:1.2.83'  
implementation 'androidx.webkit:webkit:1.3.0'  
implementation 'androidx.appcompat:appcompat:1.1.0'  
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'  
implementation 'androidx.core:core:1.1.0'  
implementation "androidx.fragment:fragment:1.1.0"

要回复问题请先登录注册