Qamar
Qamar

Reputation: 5137

How to disable android native debugger in Android studio

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.

Upvotes: 27

Views: 13051

Answers (2)

Chris623
Chris623

Reputation: 2532

For the ones still looking for a permanent solution:

run debug configuration window in android studio 4.1.3

Go to menu Run, then Edit Configurations. Under Debugger then select the Debug Type Java.

Upvotes: 30

Qamar
Qamar

Reputation: 5137

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

enter image description here

Upvotes: 52

Related Questions