Onelong

分享知识,与你一起进步......
RSS icon Home icon
  • android studio jni

    post by onelong / 2015-9-8 21:47 Tuesday [android]

    在android studio 导入jni项目,报如下错误。

    Error:(12, 0) 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 "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.

    百度了一番,发现

    gradle.properties

    加入android.useDeprecatedNdk=true 

    在local.properties

    ndk.dir=xx

    就可以了。

    标签: android android
    引用地址:
     

    我要评论