Skip to content Skip to sidebar Skip to footer

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

  1. open SDK manager
  2. under SDK tools uncheck hide obsolete packages at the bottom
  3. then you should see an option called Android SDK Tools (Obsolete)
  4. check it and apply and let the studio download the package
  5. 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:"