thiết bị bên ngoài, chúng ta có thể sử dụng:
adb install file.apk
hoặc adb install -r file.apk
thiết bị
adb install [-l] [-r] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
- push this package file to the device and install it
('-l' means forward-lock the app)
('-r' means reinstall the app, keeping its data)
('-s' means install on SD card instead of internal storage)
('--algo', '--key', and '--iv' mean the file is encrypted already)
bên trong cũng vậy, chúng ta có thể sử dụng:
pm install file.apk
hoặc pm install -r file.apk
pm install: installs a package to the system. Options:
-l: install the package with FORWARD_LOCK.
-r: reinstall an exisiting app, keeping its data.
-t: allow test .apks to be installed.
-i: specify the installer package name.
-s: install package on sdcard.
-f: install package on internal flash.
-d: allow version code downgrade.
Nguồn
2015-12-30 19:27:08
Làm thế nào tôi có thể tải xuống usb_drivers, quản lý nhật thực avdipse-> Gói có sẵn không có tùy chọn "Trình điều khiển USB" – gath
chỉ đơn giản là dnld. trình điều khiển USB từ internet và cài đặt nó –
Tải xuống từ đây http://developer.android.com/sdk/win-usb.html – Nipuna