I have already answered the problem here before.įollow this link to see the pictures and step by step process. 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'. Your Android Studio click on ‘Tools’ option on the top bar of Android studio and follow the steps: Tools > Android > SDK Manager > Launch Standalone SDK manager. For this, open Android Studio, click on SDK Manager in the toolbar or click Tools > SDK Manager, click on SDK Tools, then check-mark ‘ ’ Android-SDK Platform-Tools (as shown below). Even if it doesnt solve the problem, then comment below, we. Case 1: If adb is not present: If the adb is not present, installing the platform-tools resolves the problem. Now right against it, you will also see a hyper-text named 'Setup SDK', Just Click on it. When you install Android SDK Platform-Tools, it will fix Android SDK file not found: adb error. 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 Now from there you will clearly get to know which platform tool is missing, then you just have to do is install that and your ADB will start working properly. 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. Your Android Studio click on ‘Tools’ option on the top bar of Android studio and follow the steps: Tools > Android > SDK Manager > Launch Standalone SDK manager. 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.
0 Comments
Leave a Reply. |