android studio无法debug解决方法

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

《android studio无法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就可以了。

《android studio无法debug解决方法》

    原文作者:小相柳
    原文地址: https://www.jianshu.com/p/3d8ddf8df1b6
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞