Steps to install Android Application (.apk file) on simulator/emulator :
1. Go to Command Prompt or execute cmd from Run.
2. Go to adb shell, which is available in Platform-Tools directory.
For example, if your android-sdk is present in c:\ then path of your platform-tools directory will be,c:\android-sdk\platform-tools
3. Execute following command,C:\android-sdk\platform-tools>adb install path
where path is the path of your .apk file, for example, if your application's apk file is stored in C:\and name of your application is Android Application.apk then your command will be,C:\android-sdk\platform-tools>adb install C:\Android Application.apk
1. Go to Command Prompt or execute cmd from Run.
2. Go to adb shell, which is available in Platform-Tools directory.
For example, if your android-sdk is present in c:\ then path of your platform-tools directory will be,c:\android-sdk\platform-tools
3. Execute following command,C:\android-sdk\platform-tools>adb install path
where path is the path of your .apk file, for example, if your application's apk file is stored in C:\and name of your application is Android Application.apk then your command will be,C:\android-sdk\platform-tools>adb install C:\Android Application.apk
Thanks
akm
www.cdacians.com
No comments:
Post a Comment