升级到NDK 14后,无法在C ++代码中找到声明 [英] Cannot find declaration in C++ code after upgrade to NDK 14

查看:111
本文介绍了升级到NDK 14后,无法在C ++代码中找到声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我更新了Android Studio 2.3以使用NDK14.使用代码时,一切都能按预期工作(代码编译且应用程序按预期运行).但是,由于某些原因,当您尝试跳到任何C ++对象/函数/变量的减速度时,都会收到一条消息,提示Studio(与代码无关):

I updated my Android Studio 2.3 to use NDK 14. Everything works as expected when you use the code (code compiles and the app is running as expected). However, for some reason, when you try to jump to the deceleration of any C++ object/function/variable you get a message that studio (regardless of the code):

找不到要去的声明

Cannot find declaration to go to

这是我所看到的屏幕截图:

Here is a screenshot of what I see:

编辑:我刚刚降级到NDK 13b,问题已解决.这是一种解决方法,但是如果没有修复程序,我不建议升级.

I just downgraded back to NDK 13b and the problem was solved. This is a workaround, but without a fix I would not recommend to upgrade yet.

推荐答案

此问题已在Android Studio 2.4 Preview 3中通过使用externalNativeBuild.ndkBuild与以下内容解决:

This issue has been fixed in Android Studio 2.4 Preview 3 using externalNativeBuild.ndkBuild with:

  • 2.14.1级

  • gradle 2.14.1

gradle插件2.2.3

gradle plugin 2.2.3

NDK r14b(14.1.3816874)

NDK r14b (14.1.3816874)

这篇关于升级到NDK 14后,无法在C ++代码中找到声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆