How to install .apk files to Android SDK in Windows 7

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
30,752
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Mar 4, 2011

SOLUTION FOR ADB ERROR

-DEVICE NOT FOUND!

RUN CMD AS ADMINISTRATOR

AND unblock th .apk file

instructions over here:

Goto this link : how-to-fix-any(dot)blogspot.co­­m


LInks:

adb file: http://www.botskool.com/downloads/geeks/android/adb.zip
apk file: http://www.botskool.com/downloads/geeks/android/Sudoku.apk

STEPS

"How to install .apk files in android SDK on Windows 7 "

Here is an alternative solution for those who are getting this message: " 'adb' is not recognized as an internal or external command, operable program or batch file. " in android emulator on Windows7 with latest Android v 2.2, 2.3.

What I have noticed is that if you install the latest android SDK emulator, these three files adb.exe, AdbWinApi.dll and InstallAgent(batch file) are missing from "android-sdk-windows/tools" folder, which is required to run adb command. So I copied these three files to the "tools" folder and followed the steps described above.

Download the adb.zip file which contains adb.exe, AdbWinApi.dll and InstallAgent(batch file)

I have summarized the steps for Windows7 with latest android SDk:

STEP 1. Download the Latest Android SDK from Google

STEP 2. Install JDK(java development kit) from Oracle and then launch the "SDK Manager.exe", download and update the Android SDK version (eg. v2.3, API9) and other stuffs.

STEP 3. Create an AVD (virtual device) with a suitable android platform(API and version) using Adroid SDk and AVD manager.
STEP 4. Select and launch the AVD (Wait for the android to boot properly).

STEP 5. Unzip adb.zip , then copy and paste adb.exe, AdbWinApi.dll and InstallAgent(batch file) to the "android-sdk-windows/tools/" folder.

STEP 6. Copy and paste Sudoku.apk inside the "android-sdk-windows/tools" folder.

STEP 7. Open a command line window(cmd), change your directory to "android-sdk-windows/tools/" where adb and Sudoku.apk is located "cd" command(see the command line pic). Run the adb command "adb install Sudoku.apk" and enjoy :D
In case if you get error messages then please do read the tutorial again, see to it that you have copied the apk file in the right folder or there is no uppercase/lower case error while typing file name. Now switch to your Android emulator, and click on the menu button, you will observe that a Sudoku application appears in the grid view.

subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe subscribe

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (thxx75)

  • SOLUTION FOR ADB ERROR

    -DEVICE NOT FOUND!

    RUN CMD AS ADMINISTRATOR

    AND unblock th .apk file

    instructions over here:

    Goto this link : how-to-fix-any(dot)blogspot.co­­m

  • Here is A solution

    Solution 1

    In this case try to shutdown adb server and start it manually using :

    $adb kill-server

    $adb start-server

    You can test if deamon is working by running $adb shell

    The uninstall procedure is

    $adb shell rm your_application.apk

  • solution 2 If you have the Android SDK.zip file unzip it to a new location Add SDK_ROOT to your system variables pointing to /tools folder under the sdk Run the emulator Copy the dropbox.apk file to /tools folder

     Change directory to /tools and run from commandline $adb install dropbox.apk Now check applications list in the emulator and you should see the new application installed and ready.

    Hope this help, enjoy

    thanks

    thx

see all

All Comments (34)

Sign In or Sign Up now to post a comment!
  • cant find WMW136.apk to install" what can i do?

  • @premagn hey did u get an answer to your question because i have the same question.

  • I installed a program to my emulator, only to find out I hadn't installed the Google API's in my SDK. I went back, downloaded Google's API's, and then created a new emulator that runs under these new parameters. The trouble is, adb keeps telling me it's "already installed." Anyone have any insight into this? Much appreciated...

  • @streaklyern you probably have the same version i do. if you haven't got it working yet replace tools in your command lines with platform-tools

  • @thxx75 I fixed the error by using platform-tools instead of just tools. Thats where the adb etc. is on the newer installs

  • when i try to create an avd an error occurs saying no userdata.img was found

    how do i fix it??

  • Hi I have successfully done this but Application successfully install on the Virtual Device which i have created and showing also. But it is not reflecting on my original Phone ??

    It is installing on virtual device not on original phone. how to transfer it to Original phone.

    Please please give me the process

    my mail is masifk@in.com

    thanks & lot in advance

  • for some fucking reason cmd wont recognize the adb command on my computer no matter what i try lol

  • the link doesn't exist where i can find that guide ??

  • HEY PPL!!!! ANDROID INJECT IS THE EASIER SHIT TO INSTAL APPS TO ANDROI NO NEED CMD COMANDS

  • After i install apk, the app does not show up in the virtual devices.

  • Your adb.zip is messed up when I ran the .bat file in the zip it says adb is not a command so this is outdated/broken please fix it.

  • hi there thxx75, i am install application successfully on the virtual emulator but i cant see it in my phone please help me!!!!!

  • hi man thnks for your help every thing is fine but when i try to install a file of 24mb it says no enough storage failure.which space it is talking about.and what can i do pleaase hel p me

  • even again i solved it but now it says insuffecient storage install failed

  • i solved everything else now it says adbwinapil.dll

    please help 

  • hi please help me i follwd your instructions but only thing is when i tried to install apk on command prompt i am unable to get to the path android-sdk folder

    its stoping there iam unable to change the directory

  • this is the error msg iam getting when i try it install sampls for sdk

    File not found: C:\Program Files\Android\android-sdk\temp­\samples-3.0_r01-linux.zip (Access is denied)

    and when i try to install apk file as you showd me in video on cmd.exe it is unable to acces the adnroid folder in porgram files

    please help me

    iam using windows 7

  • this is the error msg iam getting when i try it install sampls for sdk

    File not found: C:\Program Files\Android\android-sdk\temp­\samples-3.0_r01-linux.zip (Access is denied)

    and when i try to install apk file as you showd me in video on cmd.exe it is unable to acces the adnroid folder in porgram files

    please help me

  • hi can i find jdk 32 to bit ,is it available on net

  • ffs learn to type

  • thanx alot !!!...

  • hey, i get this error: device not found. What do i do then?

  • do we unzip the adb file and install the exe in it first? or just paste the zip in the tools?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more