• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Q]How to install apps to android sdk emulator

Search This thread

zanderman112

Senior Member
Oct 6, 2010
7,958
1,844
SouthEast USA
www.twitter.com
Forgive my noobness, but can domeone explain step by step how to install an app on the Android sdk? For example, I want to test doing this with launcherpro, so please explain how.

Sent from my always stock, EB13 Epic, awaiting EC05.
 
Last edited:
  • Like
Reactions: paiom

Dark3n

Recognized Developer
Sep 14, 2007
2,568
5,184
twitter.com
Two things first.
Your thread title, well sorry to say it sucks :p. Thread titles should give information about thread. Every second thread is called "please help" people get bored by that and don't even look into them anymore. A good title enables people to take one look and know wether they can help or not.
This should probably go to Questions&Answers too ;).

Now that i ranted a bit lets get to your question.
You can't install anything on the android sdk.
You can install something on the emulator provided by the sdk.
I guess thats what you meant?
typing "adb -help" into the console gives us this:
Code:
  adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
                                 ('-l' means forward-lock the app)
                                 ('-r' means reinstall the app, keeping its data)
                                 ('-s' means install on SD card instead of internal storage)
You could try that command to install LauncherPro on the emulator.
Is this what you wanted to know?
 

zanderman112

Senior Member
Oct 6, 2010
7,958
1,844
SouthEast USA
www.twitter.com
Two things first.
Your thread title, well sorry to say it sucks :p. Thread titles should give information about thread. Every second thread is called "please help" people get bored by that and don't even look into them anymore. A good title enables people to take one look and know wether they can help or not.
This should probably go to Questions&Answers too ;).

Now that i ranted a bit lets get to your question.
You can't install anything on the android sdk.
You can install something on the emulator provided by the sdk.
I guess thats what you meant?
typing "adb -help" into the console gives us this:
Code:
  adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
                                 ('-l' means forward-lock the app)
                                 ('-r' means reinstall the app, keeping its data)
                                 ('-s' means install on SD card instead of internal storage)
You could try that command to install LauncherPro on the emulator.
Is this what you wanted to know?

Yes, I meant the emulator, and where do I type this exactly? Thanks for the help.

Sent from my always stock, EB13 Epic, awaiting EC05.
 
  • Like
Reactions: paiom

Dark3n

Recognized Developer
Sep 14, 2007
2,568
5,184
twitter.com
Alright do this:
Windows Key + R
type cmd
press enter
navigate to your android sdk directory for example on my computer c:\android\
here is an extract from my cmd:
Code:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Users\darken>cd c:\android\platform-tools

c:\android\platform-tools>adb install
Android Debug Bridge version 1.0.26
/... here goes some information .../

Any questions left :D?
 
  • Like
Reactions: Gurushankar

zanderman112

Senior Member
Oct 6, 2010
7,958
1,844
SouthEast USA
www.twitter.com
K I typed this minus the quotes
"C:\users\(user name retracted)>c:\android\platform-tools\adb install [-l] [-r] [-s] c:\android\launcherpro-0.8.3.apk"

It says; "* daemon not running. Starting it now on port 5037 *
* daemon started successfully*
Error: device offline"

What should I do?

Sent from my always stock, EB13 Epic, awaiting EC05.
 
Last edited:

ALPTEKİN_

Member
Jun 28, 2010
24
4
--creating a virtual devices (recommended froyo) and enter the following commands in sequence

CD C:\android-sdk-windows\tools--> go to directory and check here .apk file

Code:
adb start-server
android list avd
emulator -avd [emu name]

--refresh command window and enter the following command


Code:
adb install [apk name].apk


--or

CD C:\android-sdk-windows\tools--> go to directory

following command

Code:
adb start-server
adb devices
adb remount
adb install [.apk name].apk

Ekran_Al__nt__s__2.JPG


sorry bad english...
 
Last edited:
  • Like
Reactions: Gurushankar

zanderman112

Senior Member
Oct 6, 2010
7,958
1,844
SouthEast USA
www.twitter.com
--creating a virtual devices (recommended froyo) and enter the following commands in sequence

CD C:\android-sdk-windows\tools--> go to directory and check here .apk file

Code:
adb start-server
android list avd
emulator -avd [emu name]

--refresh command window and enter the following command


Code:
adb install [apk name].apk


--or

CD C:\android-sdk-windows\tools--> go to directory

following command

Code:
adb start-server
adb devices
adb remount
adb install [.apk name].apk

Ekran_Al__nt__s__2.JPG


sorry bad english...

Edit: it didn't work, the list of devices won't show, its just an empty space.

Its ok about the English, I'm pretty sure I can do what you said, I just have to replace the names of your folders with mine.

Sent from my always stock, EC05 Epic 4G
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Forgive my noobness, but can domeone explain step by step how to install an app on the Android sdk? For example, I want to test doing this with launcherpro, so please explain how.

    Sent from my always stock, EB13 Epic, awaiting EC05.
    1
    Two things first.
    Your thread title, well sorry to say it sucks :p. Thread titles should give information about thread. Every second thread is called "please help" people get bored by that and don't even look into them anymore. A good title enables people to take one look and know wether they can help or not.
    This should probably go to Questions&Answers too ;).

    Now that i ranted a bit lets get to your question.
    You can't install anything on the android sdk.
    You can install something on the emulator provided by the sdk.
    I guess thats what you meant?
    typing "adb -help" into the console gives us this:
    Code:
      adb install [-l] [-r] [-s] <file> - push this package file to the device and install it
                                     ('-l' means forward-lock the app)
                                     ('-r' means reinstall the app, keeping its data)
                                     ('-s' means install on SD card instead of internal storage)
    You could try that command to install LauncherPro on the emulator.
    Is this what you wanted to know?

    Yes, I meant the emulator, and where do I type this exactly? Thanks for the help.

    Sent from my always stock, EB13 Epic, awaiting EC05.
    1
    Alright do this:
    Windows Key + R
    type cmd
    press enter
    navigate to your android sdk directory for example on my computer c:\android\
    here is an extract from my cmd:
    Code:
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.
    
    C:\Users\darken>cd c:\android\platform-tools
    
    c:\android\platform-tools>adb install
    Android Debug Bridge version 1.0.26
    /... here goes some information .../

    Any questions left :D?
    1
    --creating a virtual devices (recommended froyo) and enter the following commands in sequence

    CD C:\android-sdk-windows\tools--> go to directory and check here .apk file

    Code:
    adb start-server
    android list avd
    emulator -avd [emu name]

    --refresh command window and enter the following command


    Code:
    adb install [apk name].apk


    --or

    CD C:\android-sdk-windows\tools--> go to directory

    following command

    Code:
    adb start-server
    adb devices
    adb remount
    adb install [.apk name].apk

    Ekran_Al__nt__s__2.JPG


    sorry bad english...