Page 1 of 1

Using the updated Android SDK / Android Studio with LiveCode

Posted: Sat Jun 10, 2017 3:27 am
by qberty
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.

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

Posted: Tue Jun 13, 2017 6:59 pm
by LiveCode_Panos
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
--

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

Posted: Thu Jun 15, 2017 6:55 am
by qberty
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!

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

Posted: Thu Jun 15, 2017 1:18 pm
by AxWald
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!