How to fix android studios 2.3 NDK bug?

This type of error statement are:-
1.NDK is missing a “platforms” directory.
2.How to set ANDROID_NDK_HOME so that Android Studio does not ask for ndk location?

Warning look like this:
"Configuration on demand is an incubating feature. 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 C:\Users\Emily Thacker\AppData\Local\Android\Sdk\ndk-bundle. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning."

Soultion: You are trying more solution While you are not require NDK 
 
please open your build.gradle and here you are two gradle path like:-

classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.android.tools.build:gradle:2.2.0'
here you can remove a class path and use only one
classpath of gradle and then clean the project This is working for me

Comments

Popular posts from this blog

RGPV CSE 8th Semester Soft computing Notes and Lectures

App Store Connect ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment"

App Store Connect ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs