Page 1 of 1

JDK Path: None

Posted: Thu Jan 21, 2021 7:03 pm
by gsillevis
Hello!

I've checked some other forum posts about this, but I can't seem to fix it.

In the Mobile Support preferences, I give the location of the Android SDK root. I understand that it should automatically link to a JDK, but it hasn't.

I used this lesson to get everything ready:

https://lessons.livecode.com/m/2571/l/6 ... oid-studio

I have JDK 8, none higher. I'm using Livecode Community 9.5.1. I have the SDK for Pie installed (as well as many others).

Whenever I try to save as a standalone, I get the "could not compile service support class" error, which I imagine is due to the lack of JDK.

Any ideas?

Thank you in advance!

Re: JDK Path: None

Posted: Fri Jan 22, 2021 2:29 am
by Bernard
I went through this recently. This may be more complex than you would hope to use as a solution. I used this solution on both Windows and OSX

http://forums.livecode.com/viewtopic.ph ... 16#p197643

Re: JDK Path: None

Posted: Wed Dec 29, 2021 3:43 am
by Jim Mac
Just dropping something here in case someone finds this thread.
I just discovered that a properly linked Android Studio SDK path means you don't need to have the JDK path showing in the Mobile Support pane.
In my case, everything seems to work without it.