Android Other

android studio无法debug解决方法

2018-03-13  本文已影响3143人  小相柳

今天在调试的时候不管怎么弄就是不能进入debug模式:

一直显示这个弹窗。同时看到报错:Attention! No symbol directories found - please check your native debug configuration

这个估计是和本地的设置有关,网上有一些解法,比如重设AS 的android NDK location ,然而发现ndk的位置无法重置。

搞了几个小时终于搞定,特此记录之。

在Android studio, file-->settering--->plugins----android NDK support插件的选项去掉。重新编译后再debug就可以了。

上一篇 下一篇

猜你喜欢

热点阅读