[!] Android toolchain - develop for Android devices (Android SDK 27.0.3) >>• Android SDK a ..\\Android\\sdk • Android NDK location not configured (optiona
I was facing issue. The tools
folder was also missing from the Android SDK
folder. I believe tools
folder appears only after installing Android SDL tools(obsolete
). This option was not available for me.
Solution:
I upgraded the Java
from version 8 to version 12 and I was able to install the tools. You may still get the error Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
while giving the command flutter doctor -v
. Run the command flutter doctor --android-licenses
, the licences will be reviewed when you click yes
every time this question appears Accept? (y/N):
Hopefully it will help someone.