I was using the this method to get the NDK directory:
project.plugins.findPlugin('com.android.library').sdkHandler.getNdkFolder()
Ater updating com.android.tools.build:gradle
to 2.3
the field sdkHandler
seems to have been renamed on removed
Error:No such property: sdkHandler for class: com.android.build.gradle.LibraryPlugin
Is there an alternative way to get the NDK directory path in a library module?