JDK path: (none)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
JDK path: (none)
Hi guys, so I am trying to export my livecode app to an apk file. I have set the Android SDK location but the JDK path is still none. I checked in my Android studio and I have set the JDK path in it (C:\program files\Android\android studio\jre) but I can't see the JDK path in livecode, any help please?
-
- Posts: 719
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: JDK path: (none)
Take a look at: http://lessons.livecode.com/m/2571/l/62 ... oid-studio
This might help to set things up the correct way if you have not already done so.
regards,
Paul
This might help to set things up the correct way if you have not already done so.
regards,
Paul
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
Re: JDK path: (none)
I followed the instructions as it says in the lesson but still nothing happens, as I said, I managed to set the Android SDK location and as far as I know the JDK should be there automatically but it's just not there, I have the SDK location without the JDK path.mrcoollion wrote: ↑Mon Jun 22, 2020 3:05 pmTake a look at: http://lessons.livecode.com/m/2571/l/62 ... oid-studio
This might help to set things up the correct way if you have not already done so.
regards,
Paul
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: JDK path: (none)
What version of Java do you have installed? You need Java 8.x.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: JDK path: (none)
Right, I mean the JDK. You need version 8 specifically. I don't think LC will work with any version higher or lower.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
-
- Posts: 12
- Joined: Mon Dec 03, 2018 8:51 pm
Re: JDK path: (none)
Hello, it worked and I have the JDK path, thank you very much. But another problem showed up. I have an error now saying "could not encode class bundle" Can you help me with this one? I have downloaded the build tools from Android studio though
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: JDK path: (none)
If you still have the newer JDK installed, try deleting it or changing the folder name. LC may be picking up the wrong version during the build. Also make sure you have the latest build tools installed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com