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 is he doing? Is there a drawback to this action?

+7
source share
2 answers

ADB (Android Debug Bridge) is a service that IDEA uses to debug Android code on an emulator or USB device. This service can only be used by one application at a time. The DDMS tool also uses ADB, so you need to disable the ADB-IDEA connection if you want to use the DDMS tool without closing IDEA. You will not be able to debug Android applications in IDEA if this service is disabled, but note that if you try to start debugging, IDEA will inform you that the ADB service is disabled and offers to enable it again. Therefore, after disabling this service, there should not be any problems. You just need to do this before starting DDMS.

+8
source

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

+3
source

All Articles