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