<p>Error:</p> <ul> <li>Error running Gradle:NDK is missing a "platformsdirectory.If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to C:\UsersUserName\AppData\Local\Android\sdk dk-bundle FAILURE: Build failed with an exception.</li> <li>Where: Build File 'C:\UsersUserName\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:\UsersUserName\AppData\Local\Android\sdk dk-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. ![](http://www.fluttercentral.com/Uploads/f5a6e1f1-6d32-434d-b951-b46df32c3f6f.PNGwidth="50%height="auto](</li> </ul> <p>Hope this helps. Thanks,Srikanth</p>
NDK is missing a "platforms" directory in Flutter
This Errors is posted by seven.srikanth at 11/3/2018 4:12:05 AM
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter
Tags: NDK is missing a "platforms" directory.
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter