IoTGateway/BSP/Android/Gettingstarted/ADB for install APK

From ESS-WIKI
Revision as of 09:42, 25 January 2017 by Liszt.kao (talk | contribs) (Created page with "The command which installation an application: <pre>adb install [-lrtsdg] <file> - push this package file to the device and install it...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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