当前位置: 代码迷 >> 综合 >> Android adb shell 使用命令纪录
  详细解决方案

Android adb shell 使用命令纪录

热度:13   发布时间:2024-01-21 07:12:34.0

查看分区情况:

$df

Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   115788         0    115788   0% /dev
tmpfs                   115788         0    115788   0% /mnt/asec
/dev/block/mtdblock6    179840    165712     14128  92% /system
/dev/block/mtdblock8    201856    110756     91100  55% /data
/dev/block/mtdblock7    108544     19724     88820  18% /cache
tmpfs                   115788         0    115788   0% /dev
tmpfs                   115788         0    115788   0% /mnt/asec
tmpfs                   115788         0    115788   0% /mnt/obb
/dev/block/mtdblock5      8960      8632       328  96% /cdrom
tmpfs                     2048        20      2028   1% /tmp
/dev/block/mtdblock0      1536      1328       208  86% /pds
/dev/block/mtdblock7    108544     19724     88820  18% /data/logger
/dev/block/mtdblock7    108544     19724     88820  18% /cache/recovery
/dev/block/vold/179:1
                       7745748   4503432   3242316  58% /mnt/sdcard
/dev/block/vold/179:1
                       7745748   4503432   3242316  58% /mnt/secure/asec


# pm 命令,可以全称是package manager. 其中一下命令比较常用。

The getInstallLocation command gets the current install location

getInstallLocation 命令可以获取当前程序安装位置
  0 [auto]: Let system decide the best location

0: 由系统决定
  1 [internal]: Install on internal device storage

1: 安装到内部存储器
  2 [external]: Install on external media

2: 安装到外部存储器,比如SD卡


The setInstallLocation command changes the default install location

setInstallLocation命令可以设置程序安装位置

  0 [auto]: Let system decide the best location
  1 [internal]: Install on internal device storage
  2 [external]: Install on external media

继续添加中.....

  相关解决方案