Can't get LiveCode to build for Android - all ok now

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Can't get LiveCode to build for Android - all ok now

Post by jacque » Thu Jun 30, 2011 5:48 pm

As of LiveCode 4.6.2 you need to create a license key for your app before it will compile. In previous versions of LiveCode the engine silently created a temporary debugging key for you but this caused some problems for people who wanted to use their own existing keys so it was removed. Apps will not compile without a key. See the lessons section on the RR web site for how to create and assign a key.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Can't get LiveCode to build for Android - all ok now

Post by BarrySumpter » Fri Jul 01, 2011 3:30 am

32674-How-do-I-Create-a-Self-Signed-Certificate-for-an-Android-App-
http://lessons.runrev.com/spaces/lesson ... droid-App-
and
32692-How-do-I-Create-an-Android-App-for-Distribution-
http://lessons.runrev.com/spaces/lesson ... tribution-
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

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

Re: Can't get LiveCode to build for Android - all ok now

Post by Mark » Tue Feb 14, 2012 4:23 am

Hi,

FYI, I just had the same problem. I tried to build an unsigned standalone and get aforementioned error. I turned on "LiveCode UI Elements in Lists" in the View menu and deleted the standalone settings properties set from the custom properties in the stack properties inspector. This was sufficient to make it work again.

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

Bicgatepc02
Posts: 3
Joined: Fri Feb 22, 2013 11:44 am

Re: Can't get LiveCode to build for Android - all ok now

Post by Bicgatepc02 » Sat Feb 23, 2013 7:15 am

you need to try open process if you want to read from/write to the process or you could even use the launch command if you don't need to communicated with the process.

Kyle W
Posts: 4
Joined: Wed May 02, 2012 4:11 am

Re: Can't get LiveCode to build for Android - all ok now

Post by Kyle W » Mon Apr 15, 2013 3:52 am

Just tried to do this with LC 6.0, and I'm getting the same error message.

Are their dependencies that need to be installed like the Android SDK or anything like that?

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Can't get LiveCode to build for Android - all ok now

Post by sturgis » Mon Apr 15, 2013 1:14 pm

While not entirely up to date anymore, have you looked here? http://lessons.runrev.com/m/4069

And specifically the "how to be come an android developer on... links?

Yes, make sure the android sdk is installed, as well as java, then use the android tools to download all the packages (at least the android 2.2 stuff, but I tend to get everything from 2.2 on just because) Also be aware, when testing code that uses hardware (sensors) 2.2 in the emulator has issues, so use 2.3 or later for testing with the emulator.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Can't get LiveCode to build for Android - all ok now

Post by jessamy99 » Tue Jun 25, 2013 10:25 pm

Hi Team and all members,

I have a Mac running Mountain Lion.
Using LiveCode 5.5.5
Installed Android (not updated to 22)
Installed support for Android 2.2, 2.3.3, and 4 (Not 4.2.2)

I have set the preferences in LiveCode and it has found the Android and Java paths.

My app builds with no problem, but I cannot seem to get the device to accept the app.
Even apps that I have previously tested on this device will not now install!

The Android device is found by LiveCode.
The device is running 4.0.4 icecream sandwich.

I had this all working once, but I updated Android and so deleted it and reinstalled.
Since then, I simply cannot get the app running on the device.
It tries to open, but then closes straight away.

Any suggestions will be gratefully received.

With best wishes,
Jessamy.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Can't get LiveCode to build for Android - all ok now

Post by jessamy99 » Thu Jun 27, 2013 1:37 pm

Update...

The app will install on Android if I use LiveCode 5.5.3 or 5.5.4, but not if I use 5.5.5.
Very strange..

Best wishes,
Jessamy.

MWCoastMedia
Posts: 32
Joined: Fri Jan 16, 2015 5:31 pm

Re: Can't get LiveCode to build for Android - all ok now

Post by MWCoastMedia » Wed Apr 13, 2016 12:51 am

I had the same problem when upgrading to a new physical test device. Spent more (unbillable) time than I'm willing to admit here trying to solve the problem. Ultimately, the problem was that while I had almost half a dozen version of the Android SDK installed, I didn't have the Android SDK installed that was set as the application minimum in Standalone Settings. This was where I found my solution: http://stackoverflow.com/questions/1730 ... pplication

Post Reply