Code Optimization

Interesting things about software development and code optimization

The Kotlin Language Client server crashed 5 times in the last 3 minutes. The server will not be restarted.

Hello friends,


seems like you have faced the same issue like me ;)


What I can say is that I was not able to fully solve this issue but I solved it partially at least.

So if you see this error in the Visual Studio Code:

The Kotlin Language Client server crashed 5 times in the last 3 minutes. The server will not be restarted.

then you have Kotlin extension installed and while updating it you hit this issue.


To be able to work, build and debug my app i did the following:

- uninstall the Kotlin extension


yes - not just disable but uninstall it and now you can continue working with Flutter & Dart


please note, even you have Kotlin Language extension that is more similar to the error the real problem is in the Kotlin extension itself.


If I will find out further steps to resolve it completely I will update this post.


Thank you and see you soon! :)



1vqHSTrq1GEoEF7QsL8dhmJfRMDVxhv2y



No suitable Android AVD system images are available - Flutter and VS Code

Hello friends,


I was trying to setup and run an android emulator for my Flutter project on Visual Studio Code IDE and got the following error:

No suitable Android AVD system images are available. You may need to install these using sdkmanager, for example: sdkmanager "system-images;android-27;google_apis_playstore;x86"

So steps to solve this issue are the following:

1. Check if there is the path under PATH System Environment Variable: C:\Users\User1\AppData\Local\Android\sdk\tools\bin

      if not then add it pointing to your ANDROID SDK TOOL BIN location

2. Run Windows Powershsll (Admin) and run the command: sdkmanager "system-images;android-27;google_apis_playstore;x86"

3. Wait until it is finished and run the Create Android Emulator in Visual Studio Code


Now everything should work and you should be able to create a new emulator :)


Enjoy!


1vqHSTrq1GEoEF7QsL8dhmJfRMDVxhv2y