> Task :app:assembleRelease
Copy the output files into backup dir
Target dir: C:\Users\pc\Desktop\FlutterHotFix-master\build\app\bakApk\app-0628-15-47-07
Copy app-release.apk to C:\Users\pc\Desktop\FlutterHotFix-master\build\app\bakApk\app-0628-15-47-07/app-release.apk
Copy mapping.txt to C:\Users\pc\Desktop\FlutterHotFix-master\build\app\bakApk\app-0628-15-47-07/app-release-mapping.txt
Copy R.txt to C:\Users\pc\Desktop\FlutterHotFix-master\build\app\bakApk\app-0628-15-47-07/app-release-R.txt
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 3s
34 actionable tasks: 9 executed, 25 up-to-date
15:47:11: Task execution finished 'assembleRelease'.
安装之后运行运行奔溃,以下是logcat打印信息
2021-06-28 15:50:25.416 27359-27359/? E/flutter_hot_fi: Not starting debugger since process cannot load the jdwp agent.
2021-06-28 15:50:25.421 1802-4585/? D/CompatibilityInfo: mCompatibilityFlags - 0
2021-06-28 15:50:25.421 1802-4585/? D/CompatibilityInfo: applicationDensity - 440
2021-06-28 15:50:25.421 1802-4585/? D/CompatibilityInfo: applicationScale - 1.0
2021-06-28 15:50:25.425 1802-4585/? D/CompatibilityInfo: mCompatibilityFlags - 0
2021-06-28 15:50:25.425 1802-4585/? D/CompatibilityInfo: applicationDensity - 440
2021-06-28 15:50:25.425 1802-4585/? D/CompatibilityInfo: applicationScale - 1.0
2021-06-28 15:50:25.427 880-1600/? D/BufferQueueLayer: Launcher new frame Arrived
2021-06-28 15:50:25.427 3724-23087/? I/ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.sk.flutter_hot_fix', mForegroundUid=10632, mForegroundPid=27359, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10080, mLastForegroundPid=12131, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
2021-06-28 15:50:25.427 3724-23087/? I/GameBoosterService: onForegroundInfoChanged: Cur=com.sk.flutter_hot_fix last=com.miui.home
2021-06-28 15:50:25.428 3724-23087/? D/GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.sk.flutter_hot_fix', mForegroundUid=10632, mForegroundPid=27359, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10080, mLastForegroundPid=12131, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
2021-06-28 15:50:25.428 3724-23087/? I/GameBoosterService: onForegroundInfoChanged: Exit
2021-06-28 15:50:25.428 3328-3432/? I/octvm_power: power mode [normal] start 1624866625
2021-06-28 15:50:25.428 3724-23087/? I/VideoBoxUtils: isSupportVideoBox: false
2021-06-28 15:50:25.428 3328-3432/? I/octvm_power: Action: set_thermal_config(restore) for [foreground_change]
2021-06-28 15:50:25.428 3328-3432/? I/octvm_drv: platform_set_thermal_mode cur_global_config:[], target mode:[restore], profile=0, ret=0
2021-06-28 15:50:25.428 3328-3432/? I/octvm_power: onPowerModeChanged[normal] called
2021-06-28 15:50:25.428 3724-23087/? I/VideoBoxUtils: isSupportVideoBox: false
2021-06-28 15:50:25.429 3724-23087/? I/VideoToolBoxService: onForegroundInfoChanged: Exit Vtb
2021-06-28 15:50:25.434 1802-1959/? I/Timeline: Timeline: App_transition_ready time:405842434
2021-06-28 15:50:25.439 1802-2367/? I/MiuiNetworkPolicy: updateUidState uid = 10632, uidState = 2
2021-06-28 15:50:25.440 653-3579/? D/OemNetd: whiteListUid: uid=10632, wmm=add
2021-06-28 15:50:25.444 880-2335/? D/BufferQueueLayer: Launcher new frame Arrived
2021-06-28 15:50:25.459 27359-27359/? I/Perf: Connecting to perf service.
2021-06-28 15:50:25.462 880-2335/? D/BufferQueueLayer: Launcher new frame Arrived
2021-06-28 15:50:25.462 27359-27359/? D/AndroidRuntime: Shutting down VM
--------- beginning of crash
2021-06-28 15:50:25.462 27359-27359/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.sk.flutter_hot_fix, PID: 27359
java.lang.RuntimeException: Unable to instantiate application com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication: com.tencent.tinker.loader.c: Tinker Exception:createInlineFence failed
at android.app.LoadedApk.makeApplication(LoadedApk.java:1230)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: com.tencent.tinker.loader.c: Tinker Exception:createInlineFence failed
at com.tencent.tinker.loader.a.a.a(Unknown Source:122)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: com.tencent.bugly.beta.tinker.TinkerApplicationLike
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at com.tencent.tinker.loader.a.a.a(Unknown Source:5)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: com.tencent.bugly.beta.tinker.TinkerApplicationLike
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at com.tencent.tinker.loader.a.a.a(Unknown Source:5)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2021-06-28 15:50:25.463 27359-27359/? E/Tinker.UncaughtHandler: TinkerUncaughtHandler catch exception:java.lang.RuntimeException: Unable to instantiate application com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication: com.tencent.tinker.loader.c: Tinker Exception:createInlineFence failed
at android.app.LoadedApk.makeApplication(LoadedApk.java:1230)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: com.tencent.tinker.loader.c: Tinker Exception:createInlineFence failed
at com.tencent.tinker.loader.a.a.a(Unknown Source:122)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: com.tencent.bugly.beta.tinker.TinkerApplicationLike
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at com.tencent.tinker.loader.a.a.a(Unknown Source:5)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.ClassNotFoundException: com.tencent.bugly.beta.tinker.TinkerApplicationLike
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at com.tencent.tinker.loader.a.a.a(Unknown Source:5)
at com.tencent.tinker.loader.a.a.a(Unknown Source:27)
at com.tencent.tinker.loader.a.a.attachBaseContext(Unknown Source:11)
at com.tencent.bugly.beta.tinker.TinkerPatchReflectApplication.attachBaseContext(Unknown Source:0)
at android.app.Application.attach(Application.java:376)
at android.app.Instrumentation.newApplication(Instrumentation.java:1156)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1222)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6533)
at android.app.ActivityThread.access$1400(ActivityThread.java:223)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1886)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7542)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
编译成功:
安装之后运行运行奔溃,以下是logcat打印信息