LiveCode and Android Studio

As of LiveCode 8.1.5 you can use Android Studio with LiveCode to set up Android deployment.

You will need to install the Java 8 SDK. This can be downloaded from

Make sure to download the Java 8 SDK as later versions are not currently compatible with LiveCode.

You will need to download the Android Studio SDK, here.

Opening the SDK Manager

Begin by starting up Android Studio.

LiveCode requires the Android 10.0 (API 29) Package to be installed. To open the SDK Manager, which allows additional packages to be installed select SDK Manager from the Configure menu on the Android Studio opening screen.

Installing the required packages

The Android SDK Manager lets you select the packages you would like to install in your Android development environment. By default, only a few packages are selected. From this version of the SDK I would recommend keeping the default selection.

LiveCode requires the Android 10.0 (API 29) Package to be installed. Select Android 10.0 (Q) in the list and click the OK button to install the package.

Note: you can see the Android SDK location at the top of the Window, take a note of this as you will need it in the next step.

Configuring LiveCode for Android Support

Configuring LiveCode for Android Support

By now, you should have successfully installed the required software in your development environment. The next step is to launch LiveCode and configure it to interface with the Android SDK.

Launch the LiveCode IDE and select LiveCode-> Preferences on Mac or Edit -> Preferences of Window to launch the Preferences menu. Then select Mobile Support and you are presented with the dialog shown in this step.

This dialog allows you to configure the path to the Android SDK root, which you should already have installed. Select ... under Android SDK and choose the folder containing the Android SDK root.

Validation checks are made once you specify the location of the Android SDK root. This ensures that you have selected a valid location and have the required Android components installed.

The following error message may be raised if something is wrong with your set up:

The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 4.0.3.

This indicates that the path you specified is not pointing at the Android SDK root. You may have to navigate one level deeper into the folder hierarchy to access the root folder. The root folder may look something like:

Deploying to an Android device

Now you have your LiveCode Android preferences set up you can deploy to an Android device or emulator as described in this lesson.

The Basics: How do I Create Hello World on Android? 


Add your comment

E-Mail me when someone replies to this comment