How to disable android native debugger in Android studio

Qamar picture Qamar · Apr 24, 2017 · Viewed 7.2k times · Source

Using Studio 2.3, gradle:2.2.1

When I try to attached debugger to app, it shows Android Hybrid Debugger ->

Now Launching Native Debug Session Attention! No symbol directories found - please check your native debug

Start hybrid debugger. And loading all *.so libraries.

I try to rename Android sdk/lldb to lldb_bak but still starting hybrid debugger.

It takes too long, waste of time. Mean while app is not responding. Can any one help me to disable native debugging. I need only java debugging.

Edit: After uninstalling LLDB from sdk tools Android Studio ask me for Quick fix dialog saying "C++ debugger is missing". If I press yes. It install LLDB again and if I press no it gives me error saying.

Error running Android Hybrid Debugger (23533): C++ debugger package is missing or incompatible

By the way I am using wireless debugging and I have c++ module with sources in my project.

Changing run configuration -> "Debug type" to 'Java' doesn't work for me.

Answer

Qamar picture Qamar · Apr 25, 2017

I found solution. Select Java from debugger list. Enjoy. Sometime it happens :)

enter image description here