A. Installing New Apk
Syntax :
adb install <path of Apk>
adb install -d <path of Apk>
1. Open Terminal ---> Type ' adb install <path of Apk' like - adb install D:\TestOne.apk
--- > Install successfull
Note : a - It does not automatically launch app, so you need to open app
b - If more than one devices connected with android studio then it does not install apk
B. Reinstalling Apk
If the app already exists on the device, you may need to use the
1. Open Terminal ---> Type ' adb install -r <path of Apk' like - adb install -r D:\TestOne.apk
--- > Install successfull
Note : a - It does not automatically launch app, so you need to open app
b - If more than one devices connected with android studio then it does not install apk
SOME MORE HELPING COMMAND LIKE -r
******************************************************
Syntax :
adb install <path of Apk>
adb install -d <path of Apk>
1. Open Terminal ---> Type ' adb install <path of Apk' like - adb install D:\TestOne.apk
--- > Install successfull
Note : a - It does not automatically launch app, so you need to open app
b - If more than one devices connected with android studio then it does not install apk
B. Reinstalling Apk
If the app already exists on the device, you may need to use the
-r option in order to reinstall it1. Open Terminal ---> Type ' adb install -r <path of Apk' like - adb install -r D:\TestOne.apk
--- > Install successfull
Note : a - It does not automatically launch app, so you need to open app
b - If more than one devices connected with android studio then it does not install apk
SOME MORE HELPING COMMAND LIKE -r
******************************************************
-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.
******************************************************
No comments:
Post a Comment