gpt4 book ai didi

Android Studio 调试和 DDMS

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:48:41 25 4
gpt4 key购买 nike

有没有办法同时启用调试和ddms?例如:给短信接收者加断点,用ddms发送短信,在断点处停止。

最佳答案

您不能使用 DDMS 发送短信和调试它,因为唯一的方法是禁用 android studio 中的 ADB 集成,它需要这个来调试。

而是使用 Android Studio 中的终端窗口通过以下方式远程登录到模拟器控制台:

telnet localhost <port number>

并使用命令发送短信:

sms send <senderPhoneNumber> <textmessage>

更多详细信息,请访问 http://developer.android.com/tools/devices/emulator.html

关于Android Studio 调试和 DDMS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16652788/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com