The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.Ĭonfigure project :react-native-image-crop-picker It is currently set to /Users/lvyongfei/Library/Android/sdk/ndk-bundle. If you are using NDK, verify the ndk.dir is set to a valid NDK directory.