Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old May 7th, 2010, 07:33 AM   #1 (permalink)
New Member
 
Join Date: May 2010
Location: Denmark
Posts: 3
 
Device(s): HTC Hero
Thanks: 0
Thanked 0 Times in 0 Posts
Default The emulator won't run application

I recently began learning how to develop an Android application, and I followed the Hello World tutorial at the Android Developer site (Hello, World | Android Developers).

I am using Eclipse and I have installed the Android Ad-on.

The problem occurs when I try to run the application in the Android Emulator. The emulator starts up nicely, but after I select MENU in order to get to the start screen, nothing happens. The Hello World application never appears on the emulator.
I have tried several tutorials on how to install the SDK and eclipse add-on, but this hasn't been any help.

I am using Windows 7 64bit

Tang is offline  
Reply With Quote
Sponsors
Old May 7th, 2010, 07:48 AM   #2 (permalink)
Member
 
punky's Avatar
 
Join Date: Apr 2010
Location: London, UK
Posts: 113
 
Device(s): HTC Desire
Thanks: 46
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by Tang View Post
I recently began learning how to develop an Android application, and I followed the Hello World tutorial at the Android Developer site (Hello, World | Android Developers).

I am using Eclipse and I have installed the Android Ad-on.

The problem occurs when I try to run the application in the Android Emulator. The emulator starts up nicely, but after I select MENU in order to get to the start screen, nothing happens. The Hello World application never appears on the emulator.
I have tried several tutorials on how to install the SDK and eclipse add-on, but this hasn't been any help.

I am using Windows 7 64bit
Does your app appear in the app tray? If it doesn't you need to add the code to tell your phone to add it there. I can tell you if that's the case.

Also for the emulator to auto-run your app you need to set it as the default activity when you hit "run". you can check that is set in "run confiurations"

Hope that helps.
punky is offline  
Reply With Quote
Old May 7th, 2010, 08:17 AM   #3 (permalink)
New Member
 
Join Date: May 2010
Location: Denmark
Posts: 3
 
Device(s): HTC Hero
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by punky View Post
Does your app appear in the app tray? If it doesn't you need to add the code to tell your phone to add it there. I can tell you if that's the case.

Also for the emulator to auto-run your app you need to set it as the default activity when you hit "run". you can check that is set in "run confiurations"

Hope that helps.
No. The app doesn't appear in the app tray. When I try to run the app, I right-click it in the package explorer (in eclipse), and then select Run As -> Android Application.
Tang is offline  
Reply With Quote
Old May 7th, 2010, 01:37 PM   #4 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've got the same issue, running Windows 7 x64.

Reinstalled eclipse/adt plugin/android sdk a few times, the emulator seems to run fine other than not running the 'hello world' program.

Run configurations is all set right, no idea what else to check

I've gone through the following setup and programming instructions:
Installing the SDK | Android Developers
Hello, World | Android Developers
Daimon is offline  
Reply With Quote
Old May 7th, 2010, 02:15 PM   #5 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just got it working - no idea how.
Deleted and re-made the virtual device (no different to usual setup), and ran it straight from the Android SDK and AVD Manager.

From then (so far at least) running the application normally has worked, even if have to unlock the screen on the virtual device first.
Daimon is offline  
Reply With Quote
Old May 8th, 2010, 06:27 AM   #6 (permalink)
New Member
 
Join Date: May 2010
Location: Denmark
Posts: 3
 
Device(s): HTC Hero
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Daimon View Post
Just got it working - no idea how.
Deleted and re-made the virtual device (no different to usual setup), and ran it straight from the Android SDK and AVD Manager.

From then (so far at least) running the application normally has worked, even if have to unlock the screen on the virtual device first.
I have tried everything, including creating a new AVD.

If you make any changes in the application, how do you run the new version on the AVD?
Tang is offline  
Reply With Quote
Old November 1st, 2010, 03:05 PM   #7 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Real "emulator" for android developers

hey ,

from my experience emulators are just not good enough

you have to try the real thing .

i'm currently using the perfectomobile handset cloud this system enables you to

access and control real mobile devices via the web.

try it , it's free.
Android Power is offline  
Reply With Quote
Old November 2nd, 2010, 07:40 AM   #8 (permalink)
New Member
 
Join Date: Oct 2010
Location: Nizhniy Novgorod, Russia
Posts: 9
 
Device(s): LG Optimus
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Android Power View Post
hey ,

from my experience emulators are just not good enough

you have to try the real thing .
I had errors on an emulator when i tested my application with the LocationManager... With "Hello World" i had no problem at all Besides, my first applications i'd developed in NetBeans and i'd had no problems too.
intsurfer is offline  
Reply With Quote
Old March 21st, 2011, 11:54 AM   #9 (permalink)
New Member
 
Join Date: Mar 2011
Posts: 1
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Question

I have the same issue and have tried all suggested fixes (that I see here), I am running Windows Pro 7 x64 but Eclipse Helios x86. Everything is installed (I believe correctly), program builds but when run the emulator fires up fine and nothing happens from this point on.

Sorry for digging up an old thread but this is my problem and from what I can see this thread hasn't solved or provided a working solution for the problem, unless I missed it in that case could someone reiterate please.

Thank you, q

=======================

Update:

I found something that helps here, now I just have to figure out my force close issues.

Thanks anyway, q
q_dmc12 is offline  
Last edited by q_dmc12; March 21st, 2011 at 01:38 PM. Reason: found something that solved the problem
Reply With Quote
Reply

Bookmarks

Tags
application, eclipse, emulator, problem


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Application does not appear in emulator using Android 2.0 and 2.1 gabrielaradu Application Development 0 January 1st, 2011 05:36 AM
How to install my application on android emulator ?? tareq Application Development 2 March 1st, 2010 02:59 AM
Application wont show up on Emulator aspekt9 Application Development 0 February 4th, 2010 07:37 PM
Calendar Application on Emulator pmishra Android Applications 0 November 2nd, 2009 11:03 PM
How to run GPS based application (WikiTude) in Android SDK Emulator? raghavendra Android Applications 0 September 25th, 2009 08:01 AM



All times are GMT -5. The time now is 12:19 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo