Fixing flutter doctor error — java.lang.NoClassDefFoundError

Craig Oda
May 15, 2021

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.

--

--

Craig Oda

open source advocate, writer, Flutter developer, father, husband, fly fisherman, surfer