Incompatible protocol version: client=3.26 vm=4.4 Failed to connect to the VM observatory service at: ws://127.0.0.1:59714/fzc9Mjsvwmg=/ws java.io.IOException: Incompatible protocol version: client=3.26 vm=4.4

 To fix issue just follow the steps given below

Incompatible protocol version: client=3.26 vm=4.4 Failed to connect to the VM observatory service at: ws://127.0.0.1:59714/fzc9Mjsvwmg=/ws java.io.IOException: Incompatible protocol version: client=3.26 vm=4.4

Step 1)
Just open your project folder in file explorer. For example I have saved my project(flutter app) under Flutter directory(E:\Flutter\flutter_app) and enter cmd click enter in file directory. Now you will get command prompt like this.

Incompatible protocol version: client=3.26 vm=4.4 Failed to connect to the VM observatory service at: ws://127.0.0.1:59714/fzc9Mjsvwmg=/ws java.io.IOException: Incompatible protocol version: client=3.26 vm=4.4



Step 2)
Enter flutter clean and press enter. It deletes the previous build.

Step 3)
Enter flutter run. You will get a screen like this.

flutter run

Step 4)
Just enter any number from the option based on your wish.

flutter connected devices

Now your project will run successfully.

flutter basic project

If your bug is fixed please mention it in comment. If you have any other suggestions please mention it in comment.

Thank You
Ranjith K

No comments:

Post a Comment