Fixing flutter doctor error — java.lang.NoClassDefFoundError – Craig Oda – Medium

On two different Windows 10 systems, running flutter doctor — android-licenses

resulted in Exception in thread “main” java.lang.NoClassDefFoundError.

Solution

The solution is to install the Android SDK command line tools.

The easiest way to install is with Android Studio.

Leave a Reply