问题详细描述 Detailed description of the problem
注意:把项目的gradle 降到2.3.3则正常,代码不变。
启动崩溃,报错Failed to find provider info for com.ss.android.auto.loader.p.main
项目用了tinker和multidex,gradle是3.0.0,AS已关闭instant run,replugin使用最新的2.3.0
采用不继承RePluginApplication的方式,集成sample中的外置插件demo3.apk
复现问题步骤 Steps to reproduce the problem
按照文档步骤进行集成。
启动即崩溃。
其它重要信息 Other important information
注意:把项目的gradle 降到2.3.3则正常,代码不变。
replugin-host-lib/gradle Version:2.3.0
rePlugin-plugin-lib/gradle Version:2.3.0
Android API Version:
ANDROID_SUPPORT_VERSION=27.1.0
COMPILE_SDK_VERSION=27
BUILD_TOOLS_VERSION=27.0.3
TARGET_SDK_VERSION=27
MIN_SDK_VERSION=14
Android 手机型号&ROM(Phone model & ROM):
Logcat上下文 Logcat context
09-19 17:31:32.910 8467-8467/? I/PMFunc: prepare 0 com.xxx.xxxvideo
09-19 17:31:32.910 8467-8467/? I/art: Late-enabling -Xcheck:jni
09-19 17:31:33.000 8467-8467/com.xxx.xxxvideo W/Tinker.TinkerLoader: tryLoadPatchFiles:patch dir not exist:/data/data/com.xxx.xxxvideo/tinker
09-19 17:31:33.010 8467-8467/com.xxx.xxxvideo D/Tinker.DefaultAppLike: onBaseContextAttached:
09-19 17:31:33.050 8467-8467/com.xxx.xxxvideo D/jieyang: VM with name ‘Android’ has multidex support
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo I/Tinker.xxxPatchListener: application maxMemory:192
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo W/Tinker.Tinker: tinker patch directory: /data/data/com.xxx.xxxvideo/tinker
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.8
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:-2, process name:com.xxx.xxxvideo, main process:true, systemOTA:false, fingerPrint:nubia/NX529J/NX529J:5.1.1/LMY47V/eng.nubia.20160412.150858:user/release-keys, oatDir:null, useInterpretMode:false
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo W/Tinker.TinkerLoadResult: can’t find patch file, is ok, just return
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/data/com.xxx.xxxvideo/tinker, code: -2, cost: 4ms
09-19 17:31:33.060 8467-8467/com.xxx.xxxvideo W/Tinker.Tinker: tinker load fail!
09-19 17:31:33.070 8467-8467/com.xxx.xxxvideo I/Tinker.LoadLibrary: tinker is not loaded, just return
09-19 17:31:33.090 8467-8467/com.xxx.xxxvideo D/RePlugin.ws001: plugin process checker: default, index=0
09-19 17:31:33.110 8467-8467/com.xxx.xxxvideo D/RePlugin.ws001: PACM: restore table: size=0
09-19 17:31:33.110 8467-8467/com.xxx.xxxvideo D/RePlugin.ws001: list plugins from persistent process
09-19 17:31:33.110 8467-8467/com.xxx.xxxvideo E/ActivityThread: Failed to find provider info for com.xxx.xxxvideo.loader.p.main
09-19 17:31:33.110 8467-8467/com.xxx.xxxvideo D/RePlugin.ws001: proxy fetch binder: cursor is null
09-19 17:31:33.110 8467-8467/com.xxx.xxxvideo D/RePlugin.ws001: host binder = null
09-19 17:31:33.120 8467-8467/com.xxx.xxxvideo E/ws001: p.p fhb fail
09-19 17:31:33.120 8467-8467/com.xxx.xxxvideo I/art: System.exit called, status: 1
09-19 17:31:33.120 8467-8467/com.xxx.xxxvideo I/AndroidRuntime: VM exiting with result code 1, cleanup skipped.
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/35647.html