Getting Started

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Kelvin Chua
Posts: 31
Joined: Tue Aug 26, 2014 7:36 am

Re: Getting Started

Post by Kelvin Chua » Wed Aug 27, 2014 4:53 am

Hi RunRev,

Let me reiterate...

I am running Windows 7 64-Bit with 16 Gbytes RAM, 4 x 1 TB SSD.

My question: Which version of JAVA JDK, Android SDK and LiveCode must I download?

Just tell me the versions and I will download them exactly and install accordingly.

I deem that all these are quite basic instructions which should be available somewhere. And... if some versions of LiveCode cannot run with certain versions of the Android SDK, it should be indicated at 'known issues' at the location where users are downloading the installers.

I am a complete beginner. But I have been programming for the past 30 years, so I believe I do know some basics.

I will be grateful if anyone can point me to the correct direction, instead of me checking the elephant blindfolded....

Thanks again!

Desperate Kelvin Chua
SINGAPORE

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Getting Started

Post by MaxV » Wed Aug 27, 2014 5:14 pm

From http://livecode.wikia.com/wiki/Android_ ... enviroment
Then you must launch Android SDK manager select and download at least:
  • all tools
  • Android API 2.2 (and all other API you need)
  • all extras
Did you do this?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Kelvin Chua
Posts: 31
Joined: Tue Aug 26, 2014 7:36 am

Re: Getting Started

Post by Kelvin Chua » Wed Aug 27, 2014 5:50 pm

Hi MaxV,

Yes, all selected and installed.

Thanks.

Kelvin Chua
SINGAPORE

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

Re: Getting Started

Post by jacque » Wed Aug 27, 2014 6:16 pm

There's a discussion here:
http://forums.livecode.com/viewtopic.ph ... ss#p102353

Maybe something there will help. Be sure you are using the latest version of LiveCode (6.6.2 is the newest stable version) and if that doesn't work, try the 6.7 pre-release. Also, as a test, choose "sign for development" in the Android standalone settings. That eliminates issues with code signing.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Getting Started

Post by Simon » Wed Aug 27, 2014 6:24 pm

Hi Kelvin,
I can tell you my setup:
Win 7 64 bit
LiveCode 6.6.1 or 6.6.2 stable
Android SDK Tools 22.6.3
Java JDK 1.6.0-38, I got that from javac -version in cmd so I'm not sure if that is correct if you know of a better way to retrieve the info I'll look it up.
Everything above is 32 bit.

Simon
edit; errrr except the Win 7 version
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Kelvin Chua
Posts: 31
Joined: Tue Aug 26, 2014 7:36 am

RESOLVED - ... application could not compile application cla

Post by Kelvin Chua » Wed Aug 27, 2014 6:38 pm

"There was an error while saving the standalone application could not compile application class"

Hi All,

Much appreciation to those who had responded, THANK YOU!

Basically, I managed to get my LiveCode working and is able to generate APK files for Android devices.

Just as a reference to anyone who may encounter the same issue when trying to install on similar hardware and operating system.

===== Running on Windows 7 64Bit SP 1, 16Gbyte RAM. =====
INSTALLATION STEPS
1. Install jdk-8u20-windows-i586.EXE
2. Install jdk-8u20-windows-x64.EXE
3. Install installer_r09-windows.exe
4. Android installed (C:\Program Files (x86)\Android\android-sdk-windows)
4. Unzip android-sdk.rar into C:\android
5. Run SDK Manager.exe in C:\android\android-sdk
6. Uncheck the check box that allow upgrade to Version 23.
7. Select Android 2.2, 2.33 and others which needed, and all the extras.
8. Install LiveCode 6.2.2.
9. At Menu Bar, click 'Edit', 'Preferences', 'Mobile Support'.
10. At location for Android development SDK root, click the button and select c:\android\android-sdk
11. Your Java path should show: C:\Program Files\Java\jdk1.8.0_20

Your system should be ready for Android development now.

Thanks.

Kelvin Chua
SINGAPORE

Kelvin Chua
Posts: 31
Joined: Tue Aug 26, 2014 7:36 am

Re: Getting Started

Post by Kelvin Chua » Wed Aug 27, 2014 6:44 pm

Just to add...

...4. Unzip android-sdk.rar

contains Android SDK rev. 20.

Thanks.

Kelvin Chua
SINGAPORE

Post Reply