阅读背景:

Android studio 3.0 and sd报错Error: Flag android.useDeprecatedNdk is no longer supported and will be r

来源:互联网 

今天学习用NDK进行开发,运行到手机上报了个错,先把错误日志贴上:

Error: Flag android.useDeprecatedNdk is no longer supported and will be removed in the next version of Android Studio.  Please switch to a supported build system.
  Consider using CMake or ndk-build integration. For more information, go to:
   https://d.android.com/r/studio-ui/add-native-code.html#ndkCompile
   To get started, you can use the sample ndk-build script the Android
   plugin generated for you at:
   E:\SwimmingSpace\ndktest\build\intermediates\ndk\debug\Android.mk
  Alternatively, you can use the experimental plugin:
   https://developer.android.com/r/tools/experimental-plugin.html
  To continue using the deprecated NDK compile for another 60 days, set 
  android.deprecatedNdkCompileLease=1515138691572 in gradle.propertiesError: Flag



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: