I've read in many articles and threads that API level 29 Android 10.0 (Q) must be installed so I downloaded it and the physical device I've connected to is running Android 9 (Pie) so I've downloaded that as well. These are the Android Studio SDKs that I've installed. I also tried to revert back my Java installation but that created a total mess for me. I tried to run flutter doctor -android-licenses and sdkmanager -licenses to accept the license agreement but after executing both threw the same exception. When I executed the flutter doctor command in my CMD, the doctor showed me these summaries. I don't want anyone to go through the same issue so I'm posting the detailed solution that worked for me. I searched on StackOverflow, GitHub, Medium and other sites to find the solution to this problem but the thing that worked for me was uninstalling Java JDK version 14 and reinstalling JDK version 8. I was also tackling the same issue for an entire day. Android Studio at H:\Apps\AndroidStudio.Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe.Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04).Java binary at: H:\Apps\AndroidStudio\jre\bin\java.Platform android-29, build-tools 29.0.2.Android SDK at C:\Users\dad\AppData\Local\Android\sdk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |