While I was trying to download an android app on my mobile phone, I was getting a error ( 498) . Tried looking for the solution but couldn't get the resolution of my problem. That's when I tweaked around and downloaded the app on phone through adb install command from my mac book .
Steps -
(Follow steps 1, 2 if Android SDK is not already installed on your system. )
1. Download the Android Software Development Kit (SDK) from the Android SDK Download Site.
2. Once downloaded, find a safe installation location on your machine and simply extract the zipped files to this directory.
For example,
• on Mac or Linux, install in $HOME/
• on Windows, install in C:/
Make note of the full path to and directory name of this directory where the SDK files are unpacked on your system.
3. If you are currently in the
The dot is your current directory, and this tells Bash to use
Otherwise, you can add
platform-tools
directory, just call
./adb --help
The dot is your current directory, and this tells Bash to use
adb
from there.Otherwise, you can add
platform-tools
to your PATH
. by placing this command in your ~/.profile
or ~/.bash_profile
, then re-starting the Terminal. export PATH=/Users/espireinfolabs/Desktop/soft/android-sdk-mac_x86/platform-tools: $PATH
4. Download the application (APK) file to a folder of your choice on your computer
5. Connect the phone to the computer through the USB cable.
6.
Enable installation of non market
applications on your phone:
a. On your phone, open the
Applications menu (i.e., the tab in the bottom center of the phone’s home
screen) and click on the Settings application, then select Applications from the
Settings menu.
b. Make sure that the first selection,
Unknown Sources, is checked so that you can install an APK file from a location
other than the Android Market. A warning message about the phone being
vulnerable to attack will be displayed. Select OK to continue if you trust the
APK file you are about to download. You can change this setting back after the current
installation is complete.
7. Download the app on your computer . ( http://www.whatsapp.com/android/ )
8. Turn on “USB debugging” on your phone: open the Applications menu and select Development, then enable USB debugging
9 . In the command/terminal window, enter the following command:
adb install
C:\>adb install C:\Desktop\BrailleBuddies.apk
2513 KB/s (14175084 bytes in 5.506s)
pkg: /data/local/tmp/BrailleBuddies.apk
Success
C:\>
Voilla !!! And you are done you can acess the app on your android mobile phone !
Comments