Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem running app with Eclipse

 
Andy Joness
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just set up Eclipse to work with the Android SDK, however when I click 'run' and choose Android app, the app itself doesn't automatically appear, the default home screen displays instead. Any ideas?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean the emulator's home screen? If so, the emulator is probably locked and you have to drag the bar across the screen to unlock the screen. After you do that the app should show up. You should have to do this only once the first time you bring up the emulator - it should stay unlocked until you restart the emulator.
 
Andy Joness
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I unlock the screen, then it goes straight to the default home screen (with the google search box on it). I've tried using different versions of the API but it keeps doing the same thing. I've reinstalled the sdk, followed numerous tutorials, and can't understand what's going wrong. I'm a Netbeans programmer, but was told Eclipse was the best choice for developing apps
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try going to the list of installed apps and see if it is there. If it it is, click on it and see if it will run.

The only time I have not seen the app appear is if it crashes on startup. But then I get an error in Eclipse about that.

Also, try opening the DDMS perspective and see if the log has anything related to your app.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic