• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android Emulator Trouble

mickman10

Lurker
I'm currently using Eclipse Helios and have downloaded everything I need to start designing an android app. However, I'm having trouble with the emulator or AVD. I've tried every type of name, size, etc. and it still seems to not work. My error thread is this:

[2011-03-02 17:52:12 - HelloAndroid] Android Launch!
[2011-03-02 17:52:12 - HelloAndroid] adb is running normally.
[2011-03-02 17:52:12 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2011-03-02 17:52:12 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'em23'
[2011-03-02 17:52:12 - HelloAndroid] Launching a new emulator with Virtual Device 'em23'
[2011-03-02 17:52:19 - HelloAndroid] New emulator found: emulator-5554
[2011-03-02 17:52:19 - HelloAndroid] Waiting for HOME ('android.process.acore') to be launched...
[2011-03-02 18:08:08 - HelloAndroid] HOME is up on device 'emulator-5554'
[2011-03-02 18:08:08 - HelloAndroid] Uploading HelloAndroid.apk onto device 'emulator-5554'
[2011-03-02 18:08:10 - HelloAndroid] Installing HelloAndroid.apk...
[2011-03-02 18:10:31 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554!
[2011-03-02 18:10:31 - HelloAndroid] (null)
[2011-03-02 18:10:37 - HelloAndroid] Failed to install HelloAndroid.apk on device 'emulator-5554': null
[2011-03-02 18:10:37 - HelloAndroid] com.android.ddmlib.InstallException
[2011-03-02 18:10:37 - HelloAndroid] Launch canceled!

I tried launching the emulator on its own without the app but it is still bugged. What usually happens is the first part where it spells android comes up and after a while it says not responding. If you wait another 10 minutes then the metallic android spelling comes up, and then it just doesn't do anything I've left it for hours before and it never changes from that screen. Any help is much appreciated. Thank You.
 
hi...
try to create new AVD .
if not working ,plz check u'r main.xml file.
install fail error is may due to error in xml file .
 
I Got the same issue and i could resolve it.
It has created my program as an app in the emulator. So after this error comes you please directly go to the emulator and check for your app there and run it (click on it). It will run smoothly.
Hope this helps.
 
Hi All

I've had the same problems as everyone else while trying to run the Hello Android tutorial. I had both Android 2.3.3 and 4.0.3 installed. I got rid of both of them, just installed 2.3.3 and re-ran the project.
I still got the warning about not being able to create sensor port.
The 'Android' name came up then the 'Android' image.
After a while (30 sec) the emulator home screen appeared. I pressed the menu button and the 'Hello Android' text appeared. All this took about 2 minutes.
I then changed the AVD skin to just a resolution of 400 x 800 and re-ran the project. Again, slowly, the 'Android' texts appeared. Then the home screen appeared. I 'unlocked' the emulator and the 'Hello Android' text appeared again.
My advice is wait, especially if you are not on a fast machine. I may be wrong but the image in the tutorial of the running app may have missed the important step of getting from the home screen to the app you have written.
Why my user created AVD doesn't work or if it is and android always says 'New emulator found: emulator-5554' I don't know. I am new to Android so I am probably missing a lot of obvious points. If I find out I will post something.
 
Back
Top Bottom