Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Will adb push only copy the file into the target location whereas adb install copies the file into the target location and also sets the proper permission for you?

share|improve this question

2 Answers 2

up vote 14 down vote accepted

More specifically

adb push [file] [path]

will take [file] from the PC and copy it to [path] on the android device.

adb install [apkfile]

will copy [apkfile] from the pc into /data/app/ on the android device.

The main difference being that push will let you specify where you want the file to go on the device, and install puts it in a known location (the location "installed" apps exist in).

share|improve this answer

adb push will copy any file to the phone, whereas adb install will only accept an apk file, and will install it onto the device.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.