Difference between revisions of "IoTGateway/BSP/Android/Gettingstarted/ADB for install APK"
From ESS-WIKI
(Created page with "The command which installation an application: <pre>adb install [-lrtsdg] <file> - push this package file to the device and install it...") |
(No difference)
|
Revision as of 08:42, 25 January 2017
The command which installation an application:
adb install [-lrtsdg] <file>
- push this package file to the device and install it
(-l: forward lock application)
(-r: replace existing application)
(-t: allow test packages)
(-s: install application on sdcard)
(-d: allow version code downgrade (debuggable packages only))
(-g: grant all runtime permissions)
To install an apk by using adb tool:
C:\>adb install APK_FILENAME.apk