vomers
Code is Art
Profile
Posts: 1
Reg: Sep 24, 2012
Bloomington
3,110
09/24/12 05:16 PM (13 years ago)

BT_activity_root:loadAppData An exception occurred. java.lang.RuntimeException: Can't create handler inside thread that has n

Trying to compile my first android app using buzztouch also new to eclipse and java. Having all kinds of issues, but I figured out most of them, but this last one has me a little stumped. The app started but then crashed given this error. BT_activity_root:loadAppData An exception occurred. java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() Looks like a call to another thread example I found on stack overflow talks about trying to call show when running a background process but the background process is not in the UI thread. Makes sense but how do I find what line of code caused this error?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/26/12 04:02 AM (13 years ago)
Hi in Bloomington. If you haven't figured this out yet (been a day or so), you could try removing any background images you may have setup on your home screen or theme. Not sure if you're using any but there have been some reports of background images causing crashes like this. If removing an image fixes it, we'll go further and see what's wrong with the image you're loading. If not, I'm at a loss without more details. Good on you for fighting through the newcomer blues with Eclipse and the Android SDK, it's not easy sometimes getting your machine setup to compile!
 

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.