JDK Path: None

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gsillevis
Posts: 40
Joined: Tue Oct 13, 2020 10:55 pm

JDK Path: None

Post by gsillevis » Thu Jan 21, 2021 7:03 pm

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!

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm
Location: London, England

Re: JDK Path: None

Post by Bernard » Fri Jan 22, 2021 2:29 am

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

Jim Mac
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 54
Joined: Wed Jun 28, 2006 9:22 pm

Re: JDK Path: None

Post by Jim Mac » Wed Dec 29, 2021 3:43 am

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.

Post Reply

Return to “Android Deployment”