stack not launching on device

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
martinvalBUSfx6S
Posts: 2
Joined: Mon Sep 24, 2012 8:36 am

stack not launching on device

Post by martinvalBUSfx6S » Wed Sep 26, 2012 10:32 am

Hi there,

As a complete newbie, I'm currently trialling LC. I have built a simple stack that runs fine on the emulator, but doesn't on my device.
The device shows up as a test target and the icon loads itself into my app list, but when I try to launch it I just get a black screen for a split second and that's it.
As I get as far as seeing the icon on the device screen I assume the phone is set up correctly.
Could it be a screen size issue ? (I have not yet written a resize script)

Any ideas on why this might be happening ?

Thanks in advance, Martin

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: stack not launching on device

Post by Mark » Thu Sep 27, 2012 1:39 am

Hi Martin,

Probably, you wrote a script that causes your stack to crash, or you wrote a script that closes the stack or even quits the standalone without you realising it. There is also a slight possibility that your device isn't compatible. I've read about issues with tablets using intel processors instead of arm processors. Which device are you using exactly?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

martinvalBUSfx6S
Posts: 2
Joined: Mon Sep 24, 2012 8:36 am

Re: stack not launching on device

Post by martinvalBUSfx6S » Thu Sep 27, 2012 7:47 pm

Thanks Mark,

It's still a bit confusing when something runs on the emulator and not an the device.
My phone is a galaxy nexus. I tried it with app inventor and it worked fine, so I hope i've got it configured right.
I'll have a look at the few bits I've scipted.

regs
Martin

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: stack not launching on device

Post by Mark » Thu Sep 27, 2012 8:23 pm

Hi Martin,

The Galaxy Nexus has an ARM processor. Whether Intel processors are compatible or not is therefore irrelevant. I would indeed concentrate on any problems with scripts. What if you make a competely empty stack and compile this for Android? Does it still crash?

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

richervin
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 54
Joined: Sat Sep 17, 2011 5:04 pm

Re: stack not launching on device

Post by richervin » Tue Oct 09, 2012 8:57 pm

This was happening to me today.

Upgrade to 5.5.2 to resolve the issue, if you have not resolved it already.
LiveCode 5.1.1 on Mac OS Mountain Lion
Attempting to develop for Android and iPhone
Currently on my third trial, and still finding LiveCode to be difficult for mobile applications in general, and particularly poor for Android

Post Reply