程序员潇然 发表于 2022-8-10 15:36:42

Android Studio中使用自带的adb调试工具

Android Studio 自带了adb工具,介绍下使用。


### 位置检索

设置中或者sdk manager都可以,先找到路径

!(data/attachment/forum/202208/10/153035pxbelz5k9z9g8bji.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

!(data/attachment/forum/202208/10/153052zibb7rm886l7rf2l.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")















!(data/attachment/forum/202208/10/153130a81dfq41dkkkfr1c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")


#### 获取路径

先打开sdk路径,然后进一步找到`platform-tools` 打开这个文件夹

!(data/attachment/forum/202208/10/153238ta9fiyj6yi2w5ock.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")


此时完整路径就是:`D:\ApplicationFiles\Programs\Android\sdk\platform-tools`

### 添加环境变量

环境变量具体就不说了,应该都知道,添加之后就可以使用了

!(data/attachment/forum/202208/10/153418ve3ri5r055bpqpbe.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")


### 使用

!(data/attachment/forum/202208/10/153504x8k67i6eib6iz1xk.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")

也可以在Android Studio的控制台中使用

!(data/attachment/forum/202208/10/153611zqs5m5z0lzmmqhxo.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "image.png")



!(data/attachment/forum/202206/16/141330jha7st9soow8772i.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/300 "common_log.png")
`转载务必注明出处:程序员潇然,疯狂的字节X,https://crazybytex.com/thread-133-1-1.html `
页: [1]
查看完整版本: Android Studio中使用自带的adb调试工具