Tencent / Shadow

零反射全动态Android插件框架
BSD 3-Clause "New" or "Revised" License
7.43k stars 1.3k forks source link

集成uniapp原生基座提示错误 ShadowApplication中缺少方法:getProcessName #1232

Closed winnershili closed 5 months ago

winnershili commented 1 year ago

Class com.tencent.shadow.core.runtime.ShadowApplication中缺少方法: getProcessName:()Ljava/lang/String;被这些类调用了: io.dcloud.common.util.ProcessUtil io.dcloud.sdk.core.util.ProcessUtil

winnershili commented 1 year ago

更新了最新版本得 shadow 启动时发现uniapp要创建一些 网页文件导致了新得错误 2023-08-28 18:05:17.200 11422-11472/com.avicsafety.zhonghangshadow E/chromium: [ERROR:simple_index_file.cc(302)] Could not create a directory to hold the index file 2023-08-28 18:05:17.201 11422-11472/com.avicsafety.zhonghangshadow E/chromium: [ERROR:simple_file_enumerator.cc(21)] opendir /data/user/0/com.avicsafety.zhonghangshadow/cache/webview_com.avicsafety.zhonghangshadow:plugin/Default/HTTP Cache/Code Cache/js: No such file or directory (2) 2023-08-28 18:05:17.201 11422-11472/com.avicsafety.zhonghangshadow E/chromium: [ERROR:simple_index_file.cc(614)] Could not reconstruct index from disk

winnershili commented 1 year ago

增加前缀后提示 Simple Cache Backend: cache directory inaccessible right after creation path: /data/user/0/com.avicsafety.zhonghangshadow/cache/webview_plugin/Default/HTTP Cache/Code Cache/js 是不是应该放弃了

winnershili commented 1 year ago

@shifujun

EmptyPages commented 1 year ago

shadow还支持uniapp???通过webview???