adb install [-lrtsdg] <file>
- push this package file to the device and install it
adb install 一共有l(wèi)rtsdg六個選項
- -l 鎖定該應(yīng)用程序
- -r 替換已存在的應(yīng)用程序发绢,也就是說強制安裝
- -t 允許測試包
- -s 把應(yīng)用程序安裝到sd卡上
- -d 允許進(jìn)行將見狀恩敌,也就是安裝的比手機上帶的版本低
- -g 為應(yīng)用程序授予所有運行時的權(quán)限