Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install .apk file using android AVD.? [duplicate]

I am using windows 7. One of my client gave me a apk file to see a previous project developed by another developer. But I have no android phone. So I want to install that apk file to my AVD device of my android sdk. But I am fail. Please give me details instruction how to install apk file inside AVD device of Eclipse(Android SDK). I am using windows 7.

like image 959
Tarun Avatar asked Nov 19 '25 03:11

Tarun


1 Answers

The command is:

adb install app.apk

If you want to install it over an existing installation, you will need:

adb install -r app.apk

This will only work if the installed app and the new app.apk file are signed with the same signature. Otherwise you'll have to uninstall the existing app first.

Make sure that you have [android installation]\platform-tools on your PATH. If you don't want to modify your PATH, use the full path to adb in the command line. For example:

c:\android-sdk-windows\platform-tools\adb.exe install app.apk
like image 86
Ted Hopp Avatar answered Nov 22 '25 05:11

Ted Hopp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!