LC 5.4, Mac OS X & Android SDK problem

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

Post Reply
Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

LC 5.4, Mac OS X & Android SDK problem

Post by Traxgeek » Tue Nov 05, 2013 2:18 pm

Hi,

I've gotten my first ever LC app to the point where I'd like to try it on an Android device. I have, I admit, coming from years of VB, .net and C, had an almighty uphill struggle but I'm where I am (after some 7 months !) and am learning to love LC - all great there :) All was not helped I guess by my having moved across to Mac at the same time as starting with LC... so... bear with me please... I've been in a very strange, foreign and often obtuse land but all is becoming a little clearer each and every day... so, I guess I'm consoling myself with that !

Anyway, this is my first time messing about with installing the Android SDK and Java RunTime... but after some figuring out I believe I have accomplished this :)

In fact I learned how to create an alias (shortcut) for the 'android' sdk and can now fire up eclipse directly from my applications folder... (might sound simple enough, and indeed, it is once you know how to :D - just took me a while to figure it out - D'Oh !! and, in-so-doing, learning that the android sdk folder does not suffer being moved / renamed lightly... Obvious I'm sure... once you know ! )

PROBLEM 1
I have not yet managed to get LC (5.4) to recognise my installation (of the android SDK). :evil:
I have navigated to my recently downloaded 'adt-bundle-mac-x86_64-20131030' folder (located in Documents / Android) in LC 'Preferences' | 'Mobile Support' | 'Android SDK Location' and selected <Choose> but get the answer "The chosen folder is not a valid Android SDK... ensure you have... enabled support for Android 2.2 (Froyo)".
I believe I did install this (Android 2.2 (API 8) )during installation and, indeed, can see (in the Android SDK Manager (gotten to via the 'android' script in the 'sdk' | 'Tools' folder of the main 'adt-bundle-mac-x86_64-20131030' folder) that this item and its three dependancies ('SDK Platform', 'Samples for SDK' and 'Google APIs') are all checked as being installed...

PROBLEM 2
The location of the 'Android AVD Manager' (and, therefore, access to it) continues to elude me ! :evil:
I found the Android SDK Manager cunningly disguised as 'android' in the 'Tools' sub-folder of the 'adt-bundle-mac-x86_64-20131030' folder (again, obvious I guess, once you know... but hard to find / understand when you don't and considering the plethora of mentions to 'android....' NOT simple / straightforward by any means...). I see I'm to run the 'Manage AVDs' script from the same location as the SDK script but... I can't find that or anything that resembles it... I then thought I would be able to gain access to it via 'Eclipse', so fired that up, but alas... can't seem to see it there either

I've tried various / many different approaches from the many and varied google and forum threads but... no go (yet !) :twisted: Too much wood (in my head - for sure !) to see the trees perhaps !

I'm disappointed this should be so difficult / obtuse (for me anyway) but take comfort from finding others have had issues too and not found this process to be so simple (reminds me of my Rhodes installation days - grrrr) and also in the belief that someone here will be able to provide me a shove !

Hope you can help...
Last edited by Traxgeek on Thu Nov 07, 2013 9:31 am, edited 1 time in total.
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: LC 5.4, Max OS X & Android SDK problem

Post by Traxgeek » Tue Nov 05, 2013 2:47 pm

Ah...

As to Problem 2 - the AVD Manager
I see that because I'd started 'android' (Tools subfolder) and it starts via Terminal (I don't know the correct expression for this) and I'm on a dual screen Mac (now running Mavericks) the menu bar was relative to the resulting 'Terminal' window that gets fired up to start the SDK Manager... Once you click on the SDK Manager window, the menu switches to that for the SDK Manager... and 'voila !' I have a 'Tools' option on the menu and the 'AVD Manager' is in there...

I'm really a little confused as to why I need to navigate and select the 'android' script in the 'Tools' sub menu to achieve this but... I guess this is more to do with my newbie-ness to Macs and Mavericks as much as my own stupidity / lack of foresight... So, anyway, now I'm off to try and create an AVD for my Transofrmer 701 Infinity (which I notice (no surprise) does not exist as an option so (it being HD / 2560 x 1600 pixel resolution, 299 ppi pixel density) do I select the Nexus or the 10.1' WXGA device ? I'll go play and revert once I've figured out what to do and how to do it...

Still haven't made any inroads as to why LC 5.4 doesn't 'like' my android sdk install yet ...
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

Post Reply