

Navigate to file explorer on your system, and locate the file path, this should be found something like View android SDK location (this will show you your sdk path) On your android studio at the top right corner beside the search icon you can find the SDK Manager. I have already answered the problem here before.įollow this link to see the pictures and step by step process.Īndroid Studio - launch emulator AVD - "unable to locate adb" The Above Steps has to be performed with every new flutter project. And you will also notice that Emulator Opens up way faster than before. Now select the Android Platform API and then click OK. That will open a Pop-up Box with the title 'Select project SDK'. 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.
