Page 1 of 1
setting up mobile support
Posted: Sun Mar 17, 2013 5:24 pm
by pxpworld
I am using MAC OS X.
I have installed iOS SDK and Android SDK
In Livecode I choose Preferences and Mobile support, but when I try and point to the relevant SDK path
it always says that it is not a valid path.
Please help
thanks
Re: setting up mobile support
Posted: Sun Mar 17, 2013 5:27 pm
by dave_probertGA6e24
Hi,
Please provide more information on the versions of MacOS, Xcode, Android SDK, etc so that we can understand where the likely problem may be.
Please also make sure you have read the iOS and Android release notes that come with Livecode (look under the Help menu).
Cheers,
Dave
Re: setting up mobile support
Posted: Mon Mar 18, 2013 2:57 pm
by n9yty
If you are using XCode 4.6 (and I assume 4.6.1 that was just released) then you have to be running LiveCode 5.5.4. When I downloaded the trial it was 5.5.3 and I had to search to find the 5.5.4 installer:
http://www.runrev.com/downloads/livecod ... _4-Mac.dmg
For Android, they offered two SDK downloads. One was larger and had all the Eclipse IDE stuff. The other was much smaller. On the Android SDK download page it was under the "USE AN EXISTING IDE" header (had to click to reveal the link). I didn't try with the larger install, just the small one, so I don't know if that is the issue or not, but if you aren't going to develop outside of LiveCode you don't need the larger one anyway.
Hopefully that will get you started.
Re: setting up mobile support
Posted: Wed Mar 20, 2013 4:32 pm
by pxpworld
Many thanks for your replies.
I am using OS X 10.8.3, XCode 5.5.4 (now), Android 4.2.2 API 17
After downloading 5.5.4, I no longer get the error when pointing to the OS SDK. I now have a green light. Great!
I did delete the FUll Android SDK and download the smaller one and install, but I still get the same error (unknown SDK directory).
I have read the Android release notes for setup but can not see anything obvious.
Can you tell me the exact android directory I should be pointing to?
many thanks
Re: setting up mobile support
Posted: Wed Mar 20, 2013 5:32 pm
by n9yty
I downloaded that archive from the Android dev site, I extracted mine into /Developer/android-sdk-macosx. The file I downloaded was "android-sdk_r21.1-macosx.zip" and this directory was straight out of that file.
I did, though, have to first go into the Terminal application, change into that directory, and run the "android" program to have it download the actual SDK content if I recall.... Actually, at the top level of that ZIP file there was an "SDK Readme.txt" file you should look at that talks about the procedure to initialize things.
cd /Developer/android-sdk-macosx
tools/android
That opened up a GUI window where I could select what versions of the SDK I wanted to install, and also under the "Tools-->Manage AVDs...." menu I was able to set up my simulator devices.
The readme says to use "tools/android update sdk --no-ui" to just put a clean install in, but I didn't do that so I think you could just launch the GUI and pick what you want.
Hope this helps.
-Steve