查看版本
adb shell getprop ro.product.model
adb shell getprop
adb shell getprop ro.build.version.release
adb shell getprop ro.build.version.sdk
adb shell wm size
adb shell
dumpsys SurfaceFlinger | grep GLES
adb root
adb root
adb remount
adb unroot
adb logcat
adb logcat -c
adb logcat -v time > log.txt
adb 启动关闭应用
adb shell am stop -n "com.demo.example/com.demo.example.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
adb shell am force-stop com.demo.example
adb 查看当前运行包名
adb shell "dumpsys window|grep mCurrentFocus"
查案GPU
dumpsys gfxinfo
dumpsys gfxinfo package
cat /sys/class/devfreq/xxx.gpu/device
adb 查看内存
adb shell getprop|grep heapgrowthlimit
adb shell getprop|grep dalvik.vm.heapstartsize
adb shell getprop|grep dalvik.vm.heapsize
adb shell procrank | grep packagename
readelf 查看动态依赖库
D:ndk\21.3.6528147\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android-readelf.exe -d .\xx.so
参考