Page 2 of 2
Re: Can't get LiveCode to build for Android - all ok now
Posted: Thu Jun 30, 2011 5:48 pm
by jacque
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.
Re: Can't get LiveCode to build for Android - all ok now
Posted: Fri Jul 01, 2011 3:30 am
by BarrySumpter
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-
Re: Can't get LiveCode to build for Android - all ok now
Posted: Tue Feb 14, 2012 4:23 am
by Mark
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
Re: Can't get LiveCode to build for Android - all ok now
Posted: Sat Feb 23, 2013 7:15 am
by Bicgatepc02
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.
Re: Can't get LiveCode to build for Android - all ok now
Posted: Mon Apr 15, 2013 3:52 am
by Kyle W
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?
Re: Can't get LiveCode to build for Android - all ok now
Posted: Mon Apr 15, 2013 1:14 pm
by sturgis
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.
Re: Can't get LiveCode to build for Android - all ok now
Posted: Tue Jun 25, 2013 10:25 pm
by jessamy99
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.
Re: Can't get LiveCode to build for Android - all ok now
Posted: Thu Jun 27, 2013 1:37 pm
by jessamy99
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.
Re: Can't get LiveCode to build for Android - all ok now
Posted: Wed Apr 13, 2016 12:51 am
by MWCoastMedia
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