Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Crashed after download patch and restarted next time. #2887

Closed
MarkZhongsh opened this issue Feb 14, 2025 · 1 comment
Closed

fix: Crashed after download patch and restarted next time. #2887

MarkZhongsh opened this issue Feb 14, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@MarkZhongsh
Copy link

App ID: 42c91bdd-f4e7-40ac-b273-9c4bbdd63919

Description

After downloading the patch and restarting the app again, the app will crashed. And if started the hotfix programlly, logs said: " skip the patch installation because of last failure" after restarting the app again.

Steps To Reproduce

  1. build release apk
  2. create patch for the apk
  3. start the app
  4. crashed

Expected Behavior

Install the patch successfully.

Crash Log

2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A Cmdline: com.jiexinge.ruanjian.fast
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A pid: 17144, tid: 17144, name: e.ruanjian.fast >>> com.jiexinge.ruanjian.fast <<<
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #00 pc 00000000009546c9 /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/base.apk!libflutter.so (BuildId: eee68de8df7f594716a04e0ad8bf51b98a4f948d)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #3 pc 0000000000d0b134 /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterJNI.performNativeAttach+0)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #5 pc 0000000000d0b24a /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterJNI.attachToNative+30)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #7 pc 0000000000d0ac0e /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterEngine.attachToJni+18)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #9 pc 0000000000d0aa9a /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterEngine.+458)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #11 pc 0000000000d0a4aa /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterEngineGroup.createEngine+22)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #13 pc 0000000000d0a420 /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.engine.FlutterEngineGroup.createAndRunEngine+108)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #15 pc 0000000000cfc970 /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.setUpFlutterEngine+420)
2025-02-14 17:04:18.922 17184-17184 DEBUG pid-17184 A #17 pc 0000000000cfbff2 /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach+14)
2025-02-14 17:04:18.923 17184-17184 DEBUG pid-17184 A #24 pc 0000000000cfd49e /data/app/~~G2KhSfakvd18JcIiPeTYFg==/com.jiexinge.ruanjian.fast-242oIL2DaPmT56yabg5JqA==/oat/x86_64/base.vdex (io.flutter.embedding.android.FlutterActivity.onCreate+26)

Full Crash Log
crash_log.txt

@MarkZhongsh MarkZhongsh added the bug Something isn't working label Feb 14, 2025
@bryanoltman
Copy link
Contributor

It looks like you ignored the native change warning when patching and the crashing patch had native changes. This is the purpose of the warning and it should not be ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants