实用的命令行记录

  • 重启system_server

    adb shell "stop,start"

  • 获取当前手机所有feature

    adb shell pm list features

  • dump某个安装包信息

    adb shell dumpsys package com.test.demo

  • 查看安装包AndroidManifest配置

    复制代码
    aapt dump xmltree xxx.apk AndroidManifest.xml 
  • 查看某个安装包的安装路径

    adb shell pm path 包名
    例如:查看permissioncontroller
    adb shell pm path com.android.permissioncontroller

  • 查看安卓系统提供了哪些 Unix 命令行工具

    adb shell ls /system/bin

git 常用命令

  • git切换新分支,并同步远程分支

    复制代码
    git checkout -b newBranch  origin/newBranch
  • 推送代码到gerrit服务器

    git push origin refs/heads/localBranch:refs/for/romoteBranch
    或者
    git push origin HEAD:refs/for/romoteBranch

相关推荐
weixin_4629019718 小时前
安桌系统adb操作
adb
唐古乌梁海19 小时前
【mysql】MySQL 数据库迁移
数据库·mysql·adb
nono牛20 小时前
MTK平台详解`ro.boot.serialno` 的实现流程 adb devices输出序列号
adb·智能手机
Jing_jing_X2 天前
MySQL Server 启动后到底加载了什么,创建表插入数据到底怎么存的存在哪
mysql·adb
LvLuffy2 天前
mac Android Studio配置adb环境(使用adb报错 adb: command not found)
macos·adb·android studio
放大的EZ2 天前
user 版本打开adb
adb
nono牛3 天前
adb devices`ro.boot.serialno` 的实现
adb·智能手机
nono牛3 天前
MTK平台详解`adb devices`输出的序列号组成
android·linux·adb·智能手机
工具人55554 天前
adb disable-verity
数据库·数据仓库·adb
dessler5 天前
MYSQL-多种方法安装部署
android·mysql·adb