Page 1 of 1

SDK not found on MacOS

Posted: Wed May 30, 2018 1:00 pm
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?

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 1:14 pm
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

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 3:45 pm
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.

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 6:43 pm
by jacque
After you get access, I'd move the whole folder out of Library. You'll have easier access in the future.

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 7:19 pm
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)

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 8:30 pm
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.

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 9:30 pm
by wolfilein
Also with Java 8.171 there is no change ??

Re: SDK not found on MacOS

Posted: Wed May 30, 2018 11:01 pm
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?

Re: SDK not found on MacOS

Posted: Thu May 31, 2018 5:36 am
by wolfilein
Also with Jav 8.172 I get the same error message ??

Re: SDK not found on MacOS

Posted: Thu May 31, 2018 11:51 pm
by jacque
Sorry, I think we need Panos to help. I'm out of ideas.

Re: SDK not found on MacOS

Posted: Fri Jun 01, 2018 7:18 am
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

Re: SDK not found on MacOS

Posted: Fri Jun 01, 2018 7:27 am
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.

Re: SDK not found on MacOS

Posted: Fri Jun 01, 2018 8:47 am
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