Discussion Forums  >  Uncategorized

Replies: 3    Views: 286

andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
11/16/11 03:43 PM (14 years ago)

Android 1.5 - App won't launch in simulator

Was working on app on my Mac in Eclipse. Made some changes to the font color of the home screen rows, and then it wouldn't refresh. I get this error message: The application Shop Rantoul (process com.shoprantoul) has stopped unexpectedly. Please try again. Rolled back my font changes, deleted every screen but the home screen menu, but still it will not launch. Here is the console output: [2011-11-16 16:26:13 - Shop Rantoul] New emulator found: emulator-5554 [2011-11-16 16:26:13 - Shop Rantoul] Waiting for HOME ('android.process.acore') to be launched... [2011-11-16 16:26:32 - Shop Rantoul] HOME is up on device 'emulator-5554' [2011-11-16 16:26:32 - Shop Rantoul] Uploading Shop Rantoul.apk onto device 'emulator-5554' [2011-11-16 16:26:39 - Shop Rantoul] Installing Shop Rantoul.apk... [2011-11-16 16:27:04 - Shop Rantoul] Success! [2011-11-16 16:27:04 - Shop Rantoul] Starting activity com.shoprantoul.BT_activity_root on device emulator-5554 [2011-11-16 16:27:06 - Shop Rantoul] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.shoprantoul/.BT_activity_root } Screenshot of crash is here: http://dl.dropbox.com/u/108257/5554-android2.jpg Any help would be appreciated! Andy
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
11/16/11 07:43 PM (14 years ago)
Hey Andy, That's some strange behavior for sure. Were you making the changes in your apps console or modifying the java directly? Also, it might seem simple, but did you try closing down eclipse and then restarting it? I've heard of several cases where a restart fixed the problem. (Sarcasm) Eclipse can be awesome like that...
 
andydahl
Aspiring developer
Profile
Posts: 209
Reg: Jul 20, 2011
Villa Grove
4,540
like
11/16/11 07:54 PM (14 years ago)
Thanks for the reply. I was only using the web interface, not touching the Java. Earlier I did comment out a line that puts the Red color under the header on a menu screen. When I got home, I did try to open the same project and it worked fine. I'm chalking it up to an isolated incident. I'll try tomorrow and let you know if I can't get it working. By the way, I did try restarting everything except the Mac. I'll try that tomorrow. Thanks!
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/16/11 11:48 PM (14 years ago)
This also means that because you didn't make any changes to the project after downloading it (or reverted some simple changes you tested with), you could always just re-download the package from your contorl panel, it's the same as the original working source right? Re-post if you can't get anywhere.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.