Play Flutter Quiz. Click here .

NDK is missing a "platforms" directory in Flutter

This Errors is posted by 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.

© 2018 - Fluttercentral | Email to me -

Terms | Privacy