实用的命令行记录

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

相关推荐
lqbzlll1 天前
MySQL 慢查询日志开了但看不懂?从 slow_query_log 到 EXPLAIN ANALYZE 一步步定位
数据库·mysql·adb
风翼靓崽1 天前
centos7以mysql为例自建yum源
数据库·mysql·adb
2401_881828322 天前
MySQL操作命令
android·mysql·adb
灵晔君3 天前
【MySQL】数据库基础
数据库·mysql·adb
在多学一点3 天前
MySQL_DDL的基本命令
数据库·mysql·adb
2501_915106323 天前
抓包抓到乱码或压缩字节怎么解析,TraceEagle五种查看模式和一键解码
网络协议·计算机网络·网络安全·ios·adb·https·udp
cnskylee4 天前
【MySQL】麒麟V10 SP3系统安装MySQL-Commercial-8.0.46
数据库·mysql·adb
一技安身4 天前
MySQL 8.4.13 LTS 通用二进制包(Linux免安装版)完整教程
linux·mysql·adb
张小姐的猫5 天前
【MySQL】事务
android·mysql·adb
霂鳯5 天前
新手勇闯网络安全 | MySQL基础(四)
mysql·web安全·adb