当前位置:网站首页>adb命令 (安装apk包格式:adb install 电脑上apk地址包名)
adb命令 (安装apk包格式:adb install 电脑上apk地址包名)
2022-07-27 13:55:00 【weixin_39118023】
1、adb基础命令
配置好环境变量后,在cmd窗口打开命令行,敲adb device,验证adb连接设备成功
(前置条件:adb环境配置成功、开发者选项开启了USB调试模式)


1.1、进入手机的设置—系统管理—开发者选项,点击开发者选项,开启USB调试、开启开发者选项(此处以vivo Z3 手机为例)


1.2、如果没有连接手机、数据线问题、未打开USB调试等原因,失败原因请自行排查
我换了台OPPO K1手机,来截图这个连接不成功的页面
设备的3种状态:
offline ———设备未连接到adb或者没有响应
device———设备已连接到ADB
no device ———未连接到模拟器/设备
2、安装apk包
adb install 66.apk


此安装方式,如果已经存在,无法安装,推荐使用覆盖安装
adb install -r x66.apk
注意apk包名称包含中文,用adb命令安装失败,我反复试了好几遍,都没成功
边栏推荐
- 正则表达式:邮箱匹配
- Annual comprehensive analysis of China's online video market in 2022
- SkyWalking分布式系统应用程序性能监控工具-中
- Visual system design example (Halcon WinForm) -9. text display
- Document translation__ Tvreg V2: variational imaging method for denoising, deconvolution, repair and segmentation (part)
- The database uses PSQL and JDBC to connect remotely and disconnect automatically from time to time
- PROFINET simulator tutorial
- HDU4565 So Easy! [matrix multiplication] [derivation]
- Get the data of the first frame of unity's open camera
- Detailed explanation of Telnet remote login AAA mode [Huawei ENSP]
猜你喜欢

图解 SQL,这也太形象了吧

【WORK】关于技术架构

arduino+ZE08-CH2O甲醛模块,输出甲醛含量

Redis

Document translation__ Salt and pepper image denoising based on adaptive total variation L1 regularization

SkyWalking分布式系统应用程序性能监控工具-中

Win11壁纸变黑怎么办?Win11壁纸变黑了的解决方法

Slam overview Reading Note 4: a survey on deep learning for localization and mapping: towards the age of spatial 2020

Ten thousand words detailed Google play online application standard package format AAB

Toward Fast, Flexible, and Robust Low-Light Image Enhancement(实现快速、灵活和稳健的弱光图像增强)CVPR2022
随机推荐
Confirm the time accuracy of the power supply setting voltage through the i/o function of vn1630/vn7640
FPGA时序约束分享04_output delay 约束
[intensive reading of papers] grounded language image pre training (glip)
数据库使用psql及jdbc进行远程连接,不定时自动断开的解决办法
Getting started with DirectX
Hard deduction SQL statement exercises, wrong question records
Differences among CPU, GPU and NPU
Getting started for beginners: build your own blog with WordPress
股票买卖4
Research on multi label patent classification based on pre training model
被动收入:回归原始且安全的两种赚取方法
What is the execution method of the stand-alone parallel query of PostgreSQL?
An example of building 3D effects on the web based on three.js
【医疗行业】DICOM converter Tools
The interviewer asked: how to judge whether an element is in the visible area?
@Bean 与 @Component 用在同一个类上,会发生什么?
DXGI 方式采集流程
一篇文章看懂JS执行上下文
[cache series] completely solve the problems of cache avalanche, breakdown and penetration
HDU3117 Fibonacci Numbers【数学】