Android Toolchain - X Android License Status Unknown. Showing Error Caused By: Java.lang.classnotfoundexception:
I am trying to setup android studio but here showing an error image where I am getting error
Solution 1:
Go to android studio
- open SDK manager
- under SDK tools uncheck hide obsolete packages at the bottom
- then you should see an option called Android SDK Tools (Obsolete)
- check it and apply and let the studio download the package
- once done run the command flutter doctor and it should now prompt you to run flutter doctor --android-licenses once you run the license command accept all licenses by hitting y and it should solve the problem
try this.
Or you will install jdk 8 and after that run following command
flutter doctor --android-licenses
Post a Comment for "Android Toolchain - X Android License Status Unknown. Showing Error Caused By: Java.lang.classnotfoundexception:"