Skip to main content

Install apk file on your phone through adb command .

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 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

Popular posts from this blog

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting | eHow.com

How to Use Chisanbop (Korean Finger Math) for Basic Addition and Counting eHow.com Difficulty: Easy Instructions Step 1 In Chisanbop you'll be using your two hands and ten fingers to represent numbers from 0 to 99. Start out with your hands out in front of you with closed fists. This represents 0. Each finger (not thumb) on your right hand represents 1. To represent 3, just press down three right hand fingers. Your right thumb represents 5. To represent 7, press down your right thumb and 2 right hand fingers. Think of your right hand as the ones or units place (column). Step 2 Your left hand represents the tens place (column). Each finger on your left hand is worth 10. For example, to represent 30, press down three left hand fingers. To represent 38, do the same, but also use your right hand to represent 8 as described above. Your left thumb represents 50. To represent 86, press down your left thumb and three left hand fingers for the 80, and your right thumb and one righ

How to load the sample database into the MariaDB server.

1. Download  the Sample Database  (Source :  https://www.mariadbtutorial.com/getting-started/mariadb-sample-database/  ) 2. unzip the file to a directory e.g.,  c:\mariadb\nation.sql 2.   connect to the MariaDB server  with the  root  user account, type the password and press the   Enter  keyboard. sudo mysql -u root -p Enter password: ******** 3.  Load the database by using the source command: mysql>source c:\mariadb\nation.sql 4.  select the   nation   database and display tables of the database: mysql> use nation; Database changed mysql> show tables ;