File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Problem running app with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Problem running app with Eclipse" Watch "Problem running app with Eclipse" New topic
Author

Problem running app with Eclipse

Andy Joness
Greenhorn

Joined: Sep 15, 2009
Posts: 24
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

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
Andy Joness
Greenhorn

Joined: Sep 15, 2009
Posts: 24
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

Joined: May 14, 2008
Posts: 5843
    
    7

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.
 
Consider Paul's rocket mass heater.
 
subject: Problem running app with Eclipse