Using the updated Android SDK / Android Studio with LiveCode

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
qberty
Posts: 14
Joined: Thu Dec 16, 2010 8:08 pm

Using the updated Android SDK / Android Studio with LiveCode

Post by qberty » Sat Jun 10, 2017 3:27 am

Here's how to use the newly updated SDK/Studio release with the latest version of LiveCode (8.1.4 etc.)

There's two ways to do this. One way is more hacky than the other.

Method 1Preferred:

Code: Select all

Simply navigate to your Android SDK folder, then into your tools/lib folder and find your sdklib java file. It will be named sdklib-BUILDNUMBER.jar. Rename it to sdklib.jar and direct LiveCode back to the SDK folder and it should work perfectly normal.
Method 2 ():

Code: Select all

Edit the revIDEDeployAndroid stack and find the "isValidSDK" function and modify the reference to "sdklib.jar" to match the filename of the sdklib java file that exists in your sdk folder.
Though unfortunately most testing and compilation still doesn't work.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Using the updated Android SDK / Android Studio with Live

Post by LiveCode_Panos » Tue Jun 13, 2017 6:59 pm

Hi all,

The new LiveCode release, 8.1.5 RC-1, has support for the latest version of Android Studio. You can find it here:

http://downloads.livecode.com/livecode/

Best,
Panos
--

qberty
Posts: 14
Joined: Thu Dec 16, 2010 8:08 pm

Re: Using the updated Android SDK / Android Studio with Live

Post by qberty » Thu Jun 15, 2017 6:55 am

LiveCode_Panos wrote:Hi all,

The new LiveCode release, 8.1.5 RC-1, has support for the latest version of Android Studio. You can find it here:

http://downloads.livecode.com/livecode/

Best,
Panos
--
Glad it's updated to work!

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Using the updated Android SDK / Android Studio with Live

Post by AxWald » Thu Jun 15, 2017 1:18 pm

Hi,
LiveCode_Panos wrote:The new LiveCode release, 8.1.5 RC-1, has support for the latest version of Android Studio.
Thx, nice to know!

But: Is there a way to apply this bugfix to any version of LC suitable for production?

Having the fix in an RC is fine, but it leaves everybody in the rain that's doing serious work. There's still people churning out mission-critical code that cannot risk using "experimental" LC versions.

Would it be possible to release more information about this, maybe even a way how to patch the older versions? This would greatly help!

Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

Post Reply

Return to “Android Deployment”