magicbaby810 / HotfixFlutter

使用Tinker或Sophix实现Flutter热更新,兼容flutterboost
400 stars 51 forks source link

热更新后运行会崩溃,麻烦看一下怎么解决吧,谢谢了 #27

Closed luxy25 closed 3 years ago

luxy25 commented 3 years ago

hannibal已经是 1.0.9,并且也按readme更新了flutterpatch.aar

崩溃提示:no static or non-static method "Lio/flutter/embedding/engine/FlutterJNI;.nativeSetViewportMetrics(JFIIIIIIIIIIIIII)V"

运行时tinker相关的日志:

2021-10-29 18:03:52.409 10054-14116/? E/xxt.jxlxandroi: Failed to register native method io.flutter.embedding.engine.FlutterJNI.nativeSetViewportMetrics(JFIIIIIIIIIIIIII)V in /data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk!classes4.dex 2021-10-29 18:03:52.423 10054-14116/? D/CrashReport-Native: Parsing line: bc85c000-bc900000 r--s 03cc9000 103:3b 28207 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk 2021-10-29 18:03:52.424 10054-14116/? D/CrashReport-Native: Parsing line: c0a91000-c0a92000 r--p 00004000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:52.424 10054-14116/? D/CrashReport-Native: Parsing line: c0a92000-c0a93000 rw-p 00005000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:52.434 10054-14116/? D/CrashReport-Native: Parsing line: ec815000-ec81b000 r--p 00090000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:53.534 11987-11987/? D/Tinker.TinkerLoader: tryLoad test test 2021-10-29 18:03:53.548 11987-11987/? D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 2021-10-29 18:03:53.548 11987-11987/? W/Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true 2021-10-29 18:03:53.551 11987-11987/? D/Tinker.TinkerInternals: same fingerprint:HUAWEI/OCE-AL50/HWOCE-ML:10/HUAWEIOCE-AL50/102.0.0.168C00:user/release-keys 2021-10-29 18:03:53.551 11987-11987/? I/Tinker.TinkerInternals: getSafeModeCount: count: 0 2021-10-29 18:03:53.551 11987-11987/? I/Tinker.TinkerInternals: setSafeModeCount: count: 1 2021-10-29 18:03:53.551 11987-11987/? I/Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]] 2021-10-29 18:03:53.551 11987-11987/? I/Tinker.TinkerDexLoader: verify dex file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk md5, use time: 0 2021-10-29 18:03:53.552 11987-11987/? I/Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/odex, dex size:1 2021-10-29 18:03:53.554 11987-11987/? I/Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]], dex size:1 2021-10-29 18:03:53.554 11987-11987/? W/Tinker.ClassLoaderAdder: checkDexInstall result:true 2021-10-29 18:03:53.556 11987-11987/? W/Tinker.ResourcePatcher: try to clear typedArray cache! 2021-10-29 18:03:53.557 11987-11987/? I/Tinker.ResourcePatcher: checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt 2021-10-29 18:03:53.557 11987-11987/? I/Tinker.ResourceLoader: monkeyPatchExistingResources resource file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk, use time: 3 2021-10-29 18:03:53.558 11987-11987/? I/Tinker.IncrementCompMgr: package has no incremental component meta, skip init. 2021-10-29 18:03:53.559 11987-11987/? I/Tinker.AppInfoChangedBlocker: tryStart called. 2021-10-29 18:03:53.559 11987-11987/? I/Tinker.AppInfoChangedBlocker: tryStart done. 2021-10-29 18:03:53.559 11987-11987/? I/Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok! 2021-10-29 18:03:53.561 11987-11987/? D/Tinker.DefaultAppLike: onBaseContextAttached: 2021-10-29 18:03:53.568 11987-11987/? V/Tinker.TinkerPatchListener: application maxMemory:384 2021-10-29 18:03:53.569 11987-11987/? V/Tinker: is use tinker 2021-10-29 18:03:53.570 11987-11987/? W/Tinker.Tinker: tinker patch directory: /data/user/0/cn.xxt.jxlxandroid/tinker 2021-10-29 18:03:53.571 11987-11987/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.17 2021-10-29 18:03:53.572 11987-11987/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:cn.xxt.jxlxandroid, main process:true, systemOTA:false, fingerPrint:HUAWEI/OCE-AL50/HWOCE-ML:10/HUAWEIOCE-AL50/102.0.0.168C00:user/release-keys, oatDir:odex, useInterpretMode:false 2021-10-29 18:03:53.572 11987-11987/? I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:9fbe1eb5016eb53f6871a8ca169f7f7c, newVersion:9fbe1eb5016eb53f6871a8ca169f7f7c, current:9fbe1eb5016eb53f6871a8ca169f7f7c 2021-10-29 18:03:53.572 11987-11987/? I/Tinker.TinkerLoadResult: oh yeah, tinker load all success 2021-10-29 18:03:53.572 11987-11987/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/cn.xxt.jxlxandroid/tinker, code: 0, cost: 26ms 2021-10-29 18:03:53.572 11987-11987/? I/Tinker.TinkerInternals: setSafeModeCount: count: 0 2021-10-29 18:03:53.626 11987-11987/? D/Tinker.DefaultAppLike: onCreate 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: bc51b000-bcac1000 r--s 017ac000 103:3b 28207 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: bcac1000-bcb65000 r--s 03cc9000 103:3b 28207 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: c0c06000-c0c0a000 r--p 00000000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: c0c0a000-c0c0d000 r--s 00000000 103:3b 31025 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.vdex 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: c0c0d000-c0c0e000 r--p 00004000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:53.813 11987-11987/? D/CrashReport-Native: Parsing line: c0c0e000-c0c0f000 rw-p 00005000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:53.819 11987-11987/? D/CrashReport-Native: Parsing line: ec80e000-ec820000 r--p 00000000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:53.824 11987-11987/? D/CrashReport-Native: Parsing line: edf29000-edf2a000 r--p 0009d000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:53.853 11987-11987/? I/CrashReport: TINKER_ID:Zxjy-release-9.4.7Beta1.947_1029-17-26-22 2021-10-29 18:03:53.853 11987-11987/? I/CrashReport: NEW_TINKER_ID:Zxjy-release-9.4.7Beta1.947_1029-17-41-25 2021-10-29 18:03:53.952 11987-14276/? E/xxt.jxlxandroi: Failed to register native method io.flutter.embedding.engine.FlutterJNI.nativeSetViewportMetrics(JFIIIIIIIIIIIIII)V in /data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk!classes4.dex 2021-10-29 18:03:55.857 11989-11989/? D/Tinker.TinkerLoader: tryLoad test test 2021-10-29 18:03:55.874 11989-11989/? D/Tinker.TinkerInternals: getCurrentInstructionSet:arm 2021-10-29 18:03:55.875 11989-11989/? W/Tinker.TinkerLoader: tryLoadPatchFiles:isEnabledForResource:true 2021-10-29 18:03:55.878 11989-11989/? D/Tinker.TinkerInternals: same fingerprint:HUAWEI/OCE-AL50/HWOCE-ML:10/HUAWEIOCE-AL50/102.0.0.168C00:user/release-keys 2021-10-29 18:03:55.878 11989-11989/? I/Tinker.TinkerInternals: getSafeModeCount: count: 0 2021-10-29 18:03:55.878 11989-11989/? I/Tinker.TinkerInternals: setSafeModeCount: count: 1 2021-10-29 18:03:55.879 11989-11989/? I/Tinker.TinkerDexLoader: classloader: dalvik.system.PathClassLoader[DexPathList[[dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]] 2021-10-29 18:03:55.879 11989-11989/? I/Tinker.TinkerDexLoader: verify dex file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk md5, use time: 0 2021-10-29 18:03:55.879 11989-11989/? I/Tinker.ClassLoaderAdder: installDexes dexOptDir: /data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/odex, dex size:1 2021-10-29 18:03:55.881 11989-11989/? I/Tinker.ClassLoaderAdder: after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]], dex size:1 2021-10-29 18:03:55.881 11989-11989/? W/Tinker.ClassLoaderAdder: checkDexInstall result:true 2021-10-29 18:03:55.884 11989-11989/? W/Tinker.ResourcePatcher: try to clear typedArray cache! 2021-10-29 18:03:55.885 11989-11989/? I/Tinker.ResourcePatcher: checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt 2021-10-29 18:03:55.885 11989-11989/? I/Tinker.ResourceLoader: monkeyPatchExistingResources resource file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk, use time: 4 2021-10-29 18:03:55.887 11989-11989/? I/Tinker.IncrementCompMgr: package has no incremental component meta, skip init. 2021-10-29 18:03:55.887 11989-11989/? I/Tinker.AppInfoChangedBlocker: tryStart called. 2021-10-29 18:03:55.887 11989-11989/? I/Tinker.AppInfoChangedBlocker: tryStart done. 2021-10-29 18:03:55.888 11989-11989/? I/Tinker.TinkerLoader: tryLoadPatchFiles: load end, ok! 2021-10-29 18:03:55.890 11989-11989/? D/Tinker.DefaultAppLike: onBaseContextAttached: 2021-10-29 18:03:55.899 11989-11989/? V/Tinker.TinkerPatchListener: application maxMemory:384 2021-10-29 18:03:55.900 11989-11989/? V/Tinker: is use tinker 2021-10-29 18:03:55.901 11989-11989/? W/Tinker.Tinker: tinker patch directory: /data/user/0/cn.xxt.jxlxandroid/tinker 2021-10-29 18:03:55.902 11989-11989/? I/Tinker.Tinker: try to install tinker, isEnable: true, version: 1.9.14.17 2021-10-29 18:03:55.903 11989-11989/? I/Tinker.TinkerLoadResult: parseTinkerResult loadCode:0, process name:cn.xxt.jxlxandroid, main process:true, systemOTA:false, fingerPrint:HUAWEI/OCE-AL50/HWOCE-ML:10/HUAWEIOCE-AL50/102.0.0.168C00:user/release-keys, oatDir:odex, useInterpretMode:false 2021-10-29 18:03:55.903 11989-11989/? I/Tinker.TinkerLoadResult: parseTinkerResult oldVersion:9fbe1eb5016eb53f6871a8ca169f7f7c, newVersion:9fbe1eb5016eb53f6871a8ca169f7f7c, current:9fbe1eb5016eb53f6871a8ca169f7f7c 2021-10-29 18:03:55.903 11989-11989/? I/Tinker.TinkerLoadResult: oh yeah, tinker load all success 2021-10-29 18:03:55.903 11989-11989/? I/Tinker.DefaultLoadReporter: patch loadReporter onLoadResult: patch load result, path:/data/user/0/cn.xxt.jxlxandroid/tinker, code: 0, cost: 31ms 2021-10-29 18:03:55.903 11989-11989/? I/Tinker.TinkerInternals: setSafeModeCount: count: 0 2021-10-29 18:03:55.979 11989-11989/? D/Tinker.DefaultAppLike: onCreate 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc1a0000-bc746000 r--s 017ac000 103:3b 28207 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc746000-bc7ea000 r--s 03cc9000 103:3b 28207 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc7ea000-bc7ee000 r--p 00000000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc7ee000-bc7f1000 r--s 00000000 103:3b 31025 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.vdex 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc7f1000-bc7f2000 r--p 00004000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:56.185 11989-11989/? D/CrashReport-Native: Parsing line: bc7f2000-bc7f3000 rw-p 00005000 103:3b 33297 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/oat/arm/tinker_classN.odex 2021-10-29 18:03:56.191 11989-11989/? D/CrashReport-Native: Parsing line: ec7df000-ec7e5000 r--p 00090000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:56.191 11989-11989/? D/CrashReport-Native: Parsing line: ec80e000-ec820000 r--p 00000000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:56.191 11989-11989/? D/CrashReport-Native: Parsing line: eca56000-eca59000 r--p 0008e000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:56.191 11989-11989/? D/CrashReport-Native: Parsing line: eca9c000-ecaa0000 r--p 00095000 103:3b 68960 /data/data/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk 2021-10-29 18:03:56.230 11989-11989/? I/CrashReport: TINKER_ID:Zxjy-release-9.4.7Beta1.947_1029-17-26-22 2021-10-29 18:03:56.230 11989-11989/? I/CrashReport: NEW_TINKER_ID:Zxjy-release-9.4.7Beta1.947_1029-17-41-25 2021-10-29 18:03:56.380 11989-11989/? D/Tinker.TinkerLoader: [PendingLog @ 2021-10-29 18:03:55.857] tryLoad test test 2021-10-29 18:03:56.380 11989-11989/? D/Tinker.TinkerInternals: [PendingLog @ 2021-10-29 18:03:55.874] getCurrentInstructionSet:arm 2021-10-29 18:03:56.380 11989-11989/? W/Tinker.TinkerLoader: [PendingLog @ 2021-10-29 18:03:55.875] tryLoadPatchFiles:isEnabledForResource:true 2021-10-29 18:03:56.380 11989-11989/? D/Tinker.TinkerInternals: [PendingLog @ 2021-10-29 18:03:55.878] same fingerprint:HUAWEI/OCE-AL50/HWOCE-ML:10/HUAWEIOCE-AL50/102.0.0.168C00:user/release-keys 2021-10-29 18:03:56.380 11989-11989/? I/Tinker.TinkerInternals: [PendingLog @ 2021-10-29 18:03:55.878] getSafeModeCount: count: 0 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.TinkerInternals: [PendingLog @ 2021-10-29 18:03:55.878] setSafeModeCount: count: 1 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.TinkerDexLoader: [PendingLog @ 2021-10-29 18:03:55.879] classloader: dalvik.system.PathClassLoader[DexPathList[[dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]] 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.TinkerDexLoader: [PendingLog @ 2021-10-29 18:03:55.879] verify dex file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk md5, use time: 0 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.ClassLoaderAdder: [PendingLog @ 2021-10-29 18:03:55.879] installDexes dexOptDir: /data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/odex, dex size:1 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.ClassLoaderAdder: [PendingLog @ 2021-10-29 18:03:55.881] after loaded classloader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]], dex size:1 2021-10-29 18:03:56.381 11989-11989/? W/Tinker.ClassLoaderAdder: [PendingLog @ 2021-10-29 18:03:55.881] checkDexInstall result:true 2021-10-29 18:03:56.381 11989-11989/? W/Tinker.ResourcePatcher: [PendingLog @ 2021-10-29 18:03:55.884] try to clear typedArray cache! 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.ResourcePatcher: [PendingLog @ 2021-10-29 18:03:55.885] checkResUpdate success, found test resource assets file only_use_to_test_tinker_resource.txt 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.ResourceLoader: [PendingLog @ 2021-10-29 18:03:55.885] monkeyPatchExistingResources resource file:/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/res/resources.apk, use time: 4 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.IncrementCompMgr: [PendingLog @ 2021-10-29 18:03:55.887] package has no incremental component meta, skip init. 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.AppInfoChangedBlocker: [PendingLog @ 2021-10-29 18:03:55.887] tryStart called. 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.AppInfoChangedBlocker: [PendingLog @ 2021-10-29 18:03:55.887] tryStart done. 2021-10-29 18:03:56.381 11989-11989/? I/Tinker.TinkerLoader: [PendingLog @ 2021-10-29 18:03:55.888] tryLoadPatchFiles: load end, ok! 2021-10-29 18:03:56.381 11989-11989/? D/Tinker.DefaultAppLike: [PendingLog @ 2021-10-29 18:03:55.890] onBaseContextAttached: 2021-10-29 18:03:56.473 11989-11989/? W/Tinker.UpgradePatchRetry: onPatchRetryLoad patch file: /data/user/0/cn.xxt.jxlxandroid/tinker_temp/temp.apk is not exist, just return 2021-10-29 18:03:57.059 11989-11989/? D/dexloader: Set base classLoader for DexClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]] 2021-10-29 18:03:57.089 11989-14565/? D/dexloader: Set base classLoader for DexClassLoader: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/user/0/cn.xxt.jxlxandroid/tinker/patch-9fbe1eb5/dex/tinker_classN.apk", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_0.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_1.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_2.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_3.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_4.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_5.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_6.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_7.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_8.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_9.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_10.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_11.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_12.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_13.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_14.dex", dex file "/data/user/0/cn.xxt.jxlxandroid/files/prodexdir/00O000ll111l_15.dex", zip file "/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk"],nativeLibraryDirectories=[/data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm, /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/base.apk!/lib/armeabi-v7a, /system/lib, /hw_product/lib]]] 2021-10-29 18:03:58.577 11989-14447/? D/CrashReport: app version is: [9.4.7Beta1.947], [deviceId:3ace2e7825e138f0], channel: [Zxjy], buildNo: [0], base tinkerId:[Zxjy-release-9.4.7Beta1.947_1029-17-26-22], patch tinkerId:[Zxjy-release-9.4.7Beta1.947_1029-17-41-25], patch version:[1], strategyType:[0]

===================================================================== 崩溃时,bugly记录的崩溃日志:

2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: #++++++++++Record By Bugly++++++++++# 2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: # You can use Bugly(http:\bugly.qq.com) to get more Crash Detail! 2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: # PKG NAME: cn.xxt.jxlxandroid 2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: # APP VER: 9.4.7Beta1 2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: # SDK VER: 3.4.12(1.5.23)-3.9.0 2021-10-29 17:58:18.631 10040-12622/? E/CrashReport: # LAUNCH TIME: 2021-10-29 17:58:10 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH TYPE: NATIVE_CRASH 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH TIME: 2021-10-29 17:58:18 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH PROCESS: cn.xxt.jxlxandroid 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH THREAD: pool-12-thread-1(1432) 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # REPORT ID: 2de28174-c57f-447b-9618-6251dc77d6ae 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH DEVICE: OCE-AL50 UNROOT 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # RUNTIME AVAIL RAM:3537092608 ROM:85974654976 SD:85953683456 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # RUNTIME TOTAL RAM:7790125056 ROM:114561122304 SD:114540150784 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # EXCEPTION FIRED BY SI_QUEUE cn.xxt.jxlxandroid(10040) 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: # CRASH STACK: 2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: SIGABRT 0x2738

00 pc 0002a502 /apex/com.android.runtime/lib/bionic/libc.so (abort+165) [armeabi-v7a::86eafa5c12a5d92a0234bc4649e9b5e8]

#01    pc 000121f7    /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm/libflutter.so [armeabi-v7a::fbec5686214f626b699a7aa401df3fb2]
#02    pc 0002ce87    /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm/libflutter.so [armeabi-v7a::fbec5686214f626b699a7aa401df3fb2]
#03    pc 000183e3    /data/app/cn.xxt.jxlxandroid-fpY0UOv6FNpTTcpIimo7cw==/lib/arm/libflutter.so (JNI_OnLoad+1802) [armeabi-v7a::fbec5686214f626b699a7aa401df3fb2]
#04    pc 001c57d5    /apex/com.android.runtime/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP7_jclassPS9_+2672) [armeabi-v7a::f19139b4309180c887ec6b2ca9af235c]
#05    pc 00000a0b    /apex/com.android.runtime/lib/libopenjdkjvm.so (JVM_NativeLoad+346) [armeabi-v7a::6c936b9da3907f22cef9de7203ab2cd0]
#06    pc 00000619    /system/framework/arm/boot.oat [armeabi::5df17fe16eabb327ea98b75323334bc9]
java pending exception:
[Native crash above happened with a Java pending exception as following]
java.lang.NoSuchMethodError: no static or non-static method "Lio/flutter/embedding/engine/FlutterJNI;.nativeSetViewportMetrics(JFIIIIIIIIIIIIII)V"
java.lang.Runtime.nativeLoad(Runtime.java:1115)
java.lang.Runtime.loadLibrary0(Runtime.java:1069)
java.lang.Runtime.loadLibrary0(Runtime.java:1007)
java.lang.System.loadLibrary(System.java:1668)
io.flutter.embedding.engine.FlutterJNI.loadLibrary(FlutterJNI.java:116)
io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:153)
io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:148)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:929)
java:
java.lang.Runtime.nativeLoad(Runtime.java:1115)
java.lang.Runtime.loadLibrary0(Runtime.java:1069)
java.lang.Runtime.loadLibrary0(Runtime.java:1007)
java.lang.System.loadLibrary(System.java:1668)
io.flutter.embedding.engine.FlutterJNI.loadLibrary(FlutterJNI.java:116)
io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:153)
io.flutter.embedding.engine.loader.FlutterLoader$1.call(FlutterLoader.java:148)
java.util.concurrent.FutureTask.run(FutureTask.java:266)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:929)

2021-10-29 17:58:18.632 10040-12622/? E/CrashReport: #++++++++++++++++++++++++++++++++++++++++++#

magicbaby810 commented 3 years ago

1151212481 来麻花疼