Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable c++ debugger in AndroidStudio

Tags:

Since AndroidStudio update 2.2, it takes a very long time for my native code app to start (I see a blank screen for ~20sec).

My guess is that it's because it takes a long time for the c++ debugger to settle.

Is its possible to disable it (and use only the good old java debugger)?

like image 322
Asaf Pinhassi Avatar asked Nov 01 '16 09:11

Asaf Pinhassi


People also ask

How do I turn off debugging on Android?

Turn off USB debugging modeGo to Settings. Tap System > Developer options. Go to USB debugging and flip the switch to turn it off.

What is Android debug mode?

USB Debugging allows an Android device to communicate with a computer that's running the Android SDK in order to use advanced operations. When you develop Android apps, you have to install the Android Software Developer Kit (SDK) on your computer.


1 Answers

I just had the same problem. You can edit your "Run/Debug Configuration" for the project. In the "Debugger" tab change "Debug type" from 'auto' to 'Java'. Solved it for me.

like image 144
Micke Avatar answered Sep 17 '22 11:09

Micke