使用Crosswalk插件构建Android Cordova应用程序时出错:“当前插件中不推荐使用NDK集成”

时间:2016-04-05 15:27:41

标签: android cordova android-ndk crosswalk

如果我添加了crosswalk插件并尝试在Android Studio中构建应用程序,则构建将失败并显示错误:

Error:(187, 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.

我正在使用cordova 6.1.1和Crosswalk插件版本1.6.1。 Android Studio版本为1.5.2。

我尝试创建gradel.properties文件,并在文件中添加“android.useDeprecatedNdk = true”道具。但构建仍然失败。

我还看到了网址:http://tools.android.com/tech-docs/new-build-system/gradle-experimental并搜索了安装和配置“实验插件”的方法,但我不知道该怎么做...

有人可以帮忙吗?

0 个答案:

没有答案