zoukankan      html  css  js  c++  java
  • adb命令之adb install

    1. adb install -r  Android-gateway-nightly.apk   

       如果安装apk到rom中,提示 “exsit 。。。”  的提示信息,可以加上  - r 参数 ,可以替换原有的apk 

    2. adb shell pm clean com.cvte.health 

       可以清除 某个包apk的数据,就是相当于清除数据

    附加:

    adb install [-l] [-r] [-s] <file> - 

    EN

     push this package file to the device and install it
    - 

    CHS

     给设备安装软件
    ('-l' means forward-lock the app) #锁定该程序
    ('-r' means reinstall the app, keeping its data) #重新安装该程序,保存数据
    ('-s' means install on SD card instead of internal storage) #安装在SD卡内,而不是设备内部存储
    
    adb uninstall [-k] <package> - 

    EN

     remove this app package from the device
    - 

    CHS

     从设备删除程序包
    ('-k' means keep the data and cache directories) #不删除程序运行所产生的数据和缓存目录(如软件的数据库文件)
  • 相关阅读:
    flask强大的三方组件flask-Migrate
    FTP和HTTP
    MD5-JS加密
    使用websocket实现单聊和多聊
    Flask上下文管理
    python中的with用法
    如何判断一个对象是可调用对象
    缓存
    websocket与http
    csrf
  • 原文地址:https://www.cnblogs.com/kevincode/p/3829460.html
Copyright © 2011-2022 走看看