android.usedeprecatedndk=true在哪设置

Error:(12, 0) Error: NDK integration is deprecated in the current plugin.  html

Consider trying the new experimental plugin.  android

For details, see http://tools.android.com/tech-docs/new-build-system/gradle-experimental.  git

Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration.github


解决如上问题只需以下两步:ide


1. 添加 gradle.properties 文件到工程的根目录下。gradle

android.useDeprecatedNdk=true <wbr>添入工程根目录下的新建 <wbr>gradle.properties <wbr>文件中

2. 添加 android.useDeprecatedNdk=true 到该 gradle.properties 文件中。ui


gradle.properties 文件内容仅此以下一句:url


android.useDeprecatedNdk=truespa


而后,从新编译你的工程。

参见:https://github.com/wzhnsc/TestNDKUpdataUI
htm

相关文章
相关标签/搜索