Error:Execution failed for task ':Serial_Demo:compileReleaseNdk'.
> Error: NDK integration is deprecated in the current plugin. Consider trying the new experimental plugin. For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental. Set "$USE_DEPRECATED_NDK=true" in gradle.properties to continue using the current NDK integration.
在gradle中添加
sourceSets.main {
jni.srcDirs = []
}