[crash on version update] patrol_cli 3.4.1 crashes with Unhandled exception: FormatException: Missing extension byte at offset #2455
-
I made quite a lot of tests to run. On patrol 3.12.0 patrol_cli 3.3.0 it worked like a charm. Did anyone get something similar? Maybe someone has an idea what can cause the problem?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
First probable cause to eliminate is to update Flutter version in the project to the latest |
Beta Was this translation helpful? Give feedback.
-
When updating patrol be careful that native instrumentation lib may get updates as well so here is the correct update flow: |
Beta Was this translation helpful? Give feedback.
When updating patrol be careful that native instrumentation lib may get updates as well
Installation manual says to add this line into
/android/app/build.gradle
androidTestUtil "androidx.test:orchestrator:1.4.2"
after version bump it become
androidTestUtil "androidx.test:orchestrator:1.5.1"
so here is the correct update flow:
1 update patrol_cli
2 bump patrol lib version in pubspec.yaml
3 update native instrumentation if needed
4 delete old instrumentation from target device, cause it may reject to install the new version