
(this will uninstall the platform tools from your ide) wait till it is done and then your gradle will sync.


Now right against it, you will also see a hyper-text named 'Setup SDK', Just Click on it. Once it is open, At the Top you will notice a bar that says 'Module SDK is not defined', Now Click on the file GeneratedPluginRegistrant.java to open it. So here is my simple and quick fix.Ĭlick on the project folder, tap the dropdown icon just beside it.Īndroid/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java

Thus the ADB manager was throwing an error 'Unable to locate AVD', which is not that fatal as the error/warning is not stopping us from launching /starting the emulator, but it is so annoying to see that pop-up box. Whenever we create a new project due to some reason the Module SDK is not set up automatically. So, I somehow figured out the problem and fixed it, The problem is atĪpp/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java I had the same issue as you were facing, I have Researched the Whole Internet but found nothing useful. Visit the above link to get solution in detailed way with pictures.

Android Studio - launch emulator AVD - "unable to locate adb"
