Whenever we create a new project due to some reason the Module SDK is not set up automatically. 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. > android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java So here is my simple and quick fix.Ĭlick on the project folder, tap the dropdown icon just beside 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. Now right against it, you will also see a hyper-text named ' Setup SDK', Just Click on it. ![]() That will open a Pop-up Box with the title ' Select project SDK'. Now select the Android Platform API and then click OK. And you will also notice that Emulator Opens up way faster than before. The Above Steps has to be performed with every new flutter project. In Choose Components, select Android Studio and Android Virtual Device (space required: 2.7GB). I have attached some screenshots just follow them. In Configuration Settings Install Location, accept the. Step 2: Navigate to GeneratedPluginRegistrant.java The Below image represents the annoying Popup-box that you encounter while launching the AVD which we are going to fix. Step 4: Against to Module SDK click on Setup SDK hyper-text.Īfter Restart you wont see the Annoying popup box anymore. Where did you install the SDK's & AVD(Default Directories). ![]() I have also Uploaded a Youtube Video for you. Do you have the same issue when you plug in your own Physical Device. ![]() Ensure you have enabled USB Debugging for step 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |