I have a project created by Android Studio version 3.1.3 and Gradle version 4.4.1. It contains some native code and runs well with NDK r10e. Yesterday I upgraded my Android Studio to version 3.2.1 (it required Gradle version 4.6 so I updated it on Gradle wrapper too). But after the upgrade process done, Gradle sync fails with this error :
Parameter specified as non-null is null: method com.android.build.gradle.internal.cxx.configure.JsonGenerationVariantConfiguration., parameter ndkVersion
My NDK location still points to my NDK r10e directory. I can not change it to a higher NDK version because it will occur many other errors.
What should I do? Please help.
I had a hard time because of this problem. The solution was surprisingly simple.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With