SDK not found on MacOS

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

SDK not found on MacOS

Post by wolfilein »

LiveCode 9 on my iMac cannot find the SDK, which is in /Users/myname/Library/Android/sdk. Unfortunately one cannot copy this information into the field, one has to browse the folders, and the browser, like the Finder in MacOS, cannot find this folder. And it is not possible to move the SDK to a different folder. So what is the solution?
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: SDK not found on MacOS

Post by Klaus »

Hi wolfilein (na, wenn das mal kein deutscher Spitzname ist :-) )

welcome to the forum!

This is not a LC, but a Mac problem.
You need to tell your Mac that you also want to access the LIBRARY folder, which is "taboo" to the user by default.

I forgot how I did this in hte past, but GOOGLE will help -> access library folder mac os
Gave me more than 43,000,000 hits.

Once you have set this up, you should be able to navigate to that folder.

BTW:
There is also a german LC forum: http://www.livecode-blog.de/forums/foru ... ode-forum/


Best

Klaus
bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: SDK not found on MacOS

Post by bogs »

I believe giving yourself access is no more difficult that right clicking it in finder, and choosing get info. At the bottom you'll see the permissions section, where you can give yourself permissions to the folder.

Disclaimer - I am not a regular mac user, so I might be completely off as to what is being asked here.
Image
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: SDK not found on MacOS

Post by jacque »

After you get access, I'd move the whole folder out of Library. You'll have easier access in the future.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

Re: SDK not found on MacOS

Post by wolfilein »

Thanks to all, is now working, and the folder is now out of the Library, so I have easy access.

But there is another problem: when trying to get a standalone Android app, I get the message:
"Could not compile service support class". Any ideas??

(Danke Klaus für den Hinweis auf das deutschsprachige Forum)
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: SDK not found on MacOS

Post by jacque »

You may not have the correct version of Java installed, you need Java 1.8.
http://www.oracle.com/technetwork/java/ ... 33151.html

I don't think it matters whether you download variation 171 or 172. When I got it, it was at 152 and it works fine. The downloads are called "Java 8" but it installed on my Mac as 1.8_152.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

Re: SDK not found on MacOS

Post by wolfilein »

Also with Java 8.171 there is no change ??
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: SDK not found on MacOS

Post by jacque »

wolfilein wrote: Wed May 30, 2018 9:30 pm Also with Java 8.171 there is no change ??
I'm not sure. I'm still using an older version. Try 171 and if it doesn't work, try 172. Do you know what version you have now?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

Re: SDK not found on MacOS

Post by wolfilein »

Also with Jav 8.172 I get the same error message ??
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: SDK not found on MacOS

Post by jacque »

Sorry, I think we need Panos to help. I'm out of ideas.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

Re: SDK not found on MacOS

Post by wolfilein »

Hi
now I get a different error message:
"... device build requires a provisioning profile to be chosen"
What does that mean??
Regards
wolfilein
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: SDK not found on MacOS

Post by jacque »

It sounds like you have iOS selected in standalone settings. Be sure to turn off all the platforms you don't want to build.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
wolfilein
Posts: 14
Joined: Wed May 30, 2018 12:44 pm

Re: SDK not found on MacOS

Post by wolfilein »

Sorry, I posted this in the wrong forum, should have been in Forum for iOS.
But problem for Android, which is my preference over iOS, is still unsolved.
Regards
wolfilein
Post Reply