Apps work in Android Simulator, but not on Device
[Solved] Here's my app:
Titanium.UI.setBackgroundColor('#fff');
var win1 = Titanium.UI.createWindow({
title:'Test 4'
});
win1.open();
This works great in the simulator, but not on my T-Mobile G1 (with 1.6 firmware.)
What I see is the splash screen, followed by "The application Test4 (process com.mycompany.test4) has stopped unexpectedly. Please try again." [Force close]
3 Answers
-
You'll need to get me a log. From the command line run
adb -d logcat
that will log what's happing on device. Paste the results in and I'll see what's happening. -
The device I received for testing was rooted, so I'm first going to attempt to get it back to a stock device state. After I get that far, if it still won't run, I'll paste the log here.
Thanks for your help!
-
It's working!
I restored the G1 to it's original, stock state, then updated to 1.1, 1.5, and finally 1.6. Then it wouldn't install from the Titanium Developer app at all. Once I put the phone in Developer USB Debug Mode and ran ./adb -d logcat, I was THEN able to install and run both my sample app and the Kitchen Sink app.