Page 1 of 1

Can't configure mobile support preferences

Posted: Tue Oct 14, 2014 9:25 am
by gliacca
I am a new subscriber of the LiveCode membership.
My pc is Windows based system with Windows 7 professional SP1.

I built my first app connecting it to an external database and it works fine.

So now I'd like to test it on Android Device simulator and Ios simulator.

These are the problems:
1) Java: I installed JDK SE 1.8 but in mobile support preferences but I always see the path in JDK Path: (none)

2) Android: I installed the Android SDK installer_r23.0.2-windows.exe in c:\android.
But when I try to specify Mobile Support->Location of Android development SDK root
I have always the same error:
The choosen folder is not a valid Android SDK....

3) Ios: I also downloaded the Ios 8 SDK from the Apple developers support because I am also member of the Apple developer program.
I don't understand how to install this sdk in order to use the emulator.

Any help?
Thanks a lot.

Gianluca

Re: Can't configure mobile support preferences

Posted: Tue Oct 14, 2014 9:40 am
by LCNeil
Hi gliacca,


It looks like you are using the latest release of the Android SDK. Unfortunately, this is not compatible with older revision of LiveCode. Please download LiveCode 6.6.4 (RC3)+ as this should resolve the "chosen folder is not a valid sdk" message.

I would also highly recommend watching the following Android Setup video as this will ensure that you have everything setup correctly for Android deployment (Video goes through setup on a Mac but it is almost identical on Windows)

https://www.youtube.com/watch?v=83qrKr9bR3M

In regards to iOS deployment, as you are running LiveCode on Windows you will not be able to build iOS standalones. This is due to Xcode being Mac only. If you wish to build iOS standalones you will either need access to a Mac system or use a service such as MacInCloud (http://www.macincloud.com/) to rent a Mac online.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--

Re: Can't configure mobile support preferences

Posted: Tue Oct 14, 2014 10:55 am
by gliacca
Thanks for your help!!
About Java I just uninstalled JDK 1.8 and installed JDK 1.7 and now the Java Path is correctly displayed in mobile support preferences.
About Android I kept livecode 6.2.3 but I copied the zipalign.exe file from platform-tools directory of Android SDK to tools directory and now the path for SDK is accepted!!
The last problem I have is that once I start a previously create AVD from AVD manager this seems to be not started because I didn't see the device working, it seems like is waiting to load the os. I watched the video you suggested and my installation is the same.
I know is not related to livecode but if you have any experience let me know.
Thanks again.
Gianluca

Re: Can't configure mobile support preferences

Posted: Tue Oct 14, 2014 11:26 am
by gliacca
It works now!
Thanks again!