adb命令 install uinstall

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

   若是安裝apk到rom中,提示 「exsit 。。。」  的提示信息,能夠加上  - r 參數 ,能夠替換原有的apk 數據庫

2. adb shell pm clear com.xxxxx.xxxx  (程序包) 緩存

   能夠清除 某個包apk的數據,就是至關於清除數據app

 - 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卡內,而不是設備內部存儲

 - EN remove this app package from the device
- CHS 從設備刪除程序包
('-k' means keep the data and cache directories) #不刪除程序運行所產生的數據和緩存目錄(如軟件的數據庫文件)adb install [-l] [-r] [-s] <file>adb uninstall [-k] <package>
相關文章
相關標籤/搜索