美文网首页
adb install 命令解释

adb install 命令解释

作者: 培根炒蛋 | 来源:发表于2017-01-17 17:42 被阅读1665次
 adb install [-lrtsdg] <file>
    - push this package file to the device and install it

adb install 一共有lrtsdg六个选项

  1. -l 锁定该应用程序
  2. -r 替换已存在的应用程序,也就是说强制安装
  3. -t 允许测试包
  4. -s 把应用程序安装到sd卡上
  5. -d 允许进行将见状,也就是安装的比手机上带的版本低
  6. -g 为应用程序授予所有运行时的权限

相关文章

网友评论

      本文标题:adb install 命令解释

      本文链接:https://www.haomeiwen.com/subject/pkambttx.html