工具-> Android->启用ADB服务的目的是什么? [英] What is the purpose of Tools->Android->Enable ADB Service?

查看:48
本文介绍了工具-> Android->启用ADB服务的目的是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了将IDEA和DDMS连接到同一仿真器,我不得不禁用此功能.

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?

推荐答案

ADB(Android调试桥)是IDEA用于在模拟器或USB设备上调试Android代码的服务.一次只能由一个应用程序使用此服务.DDMS工具也使用ADB,因此,如果要使用DDMS工具而不关闭IDEA,则需要禁用ADB-IDEA连接.如果禁用此服务,则将无法在IDEA中调试Android应用程序,但请注意,如果尝试启动调试, IDEA将通知您已禁用ADB服务,并愿意再次启用它..因此,禁用此服务后应该不会有任何问题.您只需要在启动DDMS之前执行此操作即可.

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.

这篇关于工具-> Android->启用ADB服务的目的是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆