Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of Tools->Android->Enable ADB Service?

In order to have IDEA and DDMS connected to the same emulator, I had to disable this feature.

What does it do? Is there a downside of this action?

like image 851
sandalone Avatar asked Feb 11 '12 17:02

sandalone


People also ask

Should I enable GPU debug layers?

There's no reason to use them unless you're a developer testing an app. Debug GPU overdraw: This uses color-coding to visualize how many times the same pixel has been drawn in the same frame. The visualization shows where an app might be doing more rendering than necessary.

Is it safe to use ADB?

Android ADB FAQs This result with your device's serial number confirms ADB working on your device. Is ADB safe? While as a tool ADB is very safe, it all comes down to how you use it. So don't use ADB to make changes that you aren't sure of.


2 Answers

The ADB (Android Debug Bridge) is a service that IDEA uses for debugging Android code on an emulator or USB device. This service can be used by only one application at a time. DDMS tool uses ADB, too, so you need to disable ADB-IDEA connection if you want to use DDMS tool without closing IDEA. You won't be able to debug Android applications in IDEA if this service is disabled, but note that if you try to launch debugging IDEA will notify you that ADB service is disabled and offer to enable it again. So there shouldn't be any problems after disabling this service. You just need to do it before launching DDMS.

like image 65
ekudel Avatar answered Oct 07 '22 15:10

ekudel


ADB is the debugger for android. You can only have one device connect to the debugger at a time.

like image 26
Paul Nikonowicz Avatar answered Oct 07 '22 14:10

Paul Nikonowicz