NDK is missing a "platforms" directory in Flutter

This Errors is posted by seven.srikanth at 03-11-2018 04:12:05

* Error running Gradle:
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to  
FAILURE: Build failed with an exception.
* Where: 
Build File 'C:\Users\~UserName~\AndroidStudioProjects\sandwich\android\app\build.gradle' 
If you face this error, make sure if NDK is available in the given path or not., The path is present in the error, which is something like C:\Users\~UserName~\AppData\Local\Android\sdk\ndk-bundle..
Verify if the files exist there, otherwise change that from project structure.
To access Project Structure, go to File -> Other Settings -> Default Project Structure. It will show a window as below.
Hope this helps.

Tags: NDK is missing a "platforms" directory.

Login to comment.
Recent Comments

Be the first to Comment. You can ask a Query or Share your toughts or Just say thanks.

Recent Articles

How to deploy flutter web site on GitHub using peanut

Posted by nikhilchaudhary12155 on 13 Oct 2019 Article

AnimatedPositioned Widget Example in Flutter

Posted by seven.srikanth on 10 Oct 2019 Article

Flutter Open-Source and directory lists

Posted by nishantkotatech on 09 Oct 2019 Article

Flutter Travelling Couple Leading Page - Flutter Web Series 3

Posted by nikhilchaudhary12155 on 05 Oct 2019 Article

© 2018 - Fluttercentral | Email to me - Seven.srikanth@gmail.com