Skip to content

[crash on version update] patrol_cli 3.4.1 crashes with Unhandled exception: FormatException: Missing extension byte at offset #2455

Answered by EvgenSilkov
EvgenSilkov asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by EvgenSilkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant