实用的命令行记录

  • 重启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

相关推荐
秃头摸鱼侠6 小时前
MySQL安装与配置
数据库·mysql·adb
limingade16 小时前
ADB识别手机系统弹授权框-如何处理多重弹框叠加和重叠问题
adb·智能手机·android自动授权确认·安卓弹框授权·自动化点击android授权框
FREEDOM_X17 小时前
系统调试——ADB 工具
adb
超级小忍1 天前
如何配置 MySQL 允许远程连接
数据库·mysql·adb
betazhou2 天前
mariadb5.5.56在centos7.6环境安装
android·数据库·adb·mariadb·msyql
fengye2071613 天前
板凳-------Mysql cookbook学习 (十)
学习·mysql·adb
进击的CJR4 天前
MySQL 8.0 OCP 英文题库解析(十)
mysql·adb·开闭原则
VirusVIP4 天前
解决:如何在Windows adb使用dmesg | grep检查内核日志
linux·adb
睡觉待开机4 天前
4. 数据类型
android·adb
进击的CJR5 天前
MySQL 8.0 OCP 英文题库解析(十一)
mysql·adb·开闭原则