JDK Path does not appear

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

JDK Path does not appear

Post by Jellobus » Thu Jun 04, 2015 2:15 am

Hi,

I can't complete the installation of the app on android device with Mac. The app can be installed but it crashes on the launch. this app file works perfectly if I work with PC but no luck with Mac.

With Mac, It's possible to initiate installation of the app by clicking the test button but it fails....LC 7.0.3 does not show jdk path as you can see the picture.
os is Yosemite 10.10.3, jdk-8u20-macosx-x64
any suggestion?

Cheers,

Louis
Attachments
Screen Shot 2015-06-03 at 9.16.20 PM.png

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: JDK Path does not appear

Post by dave.kilroy » Thu Jun 04, 2015 8:34 am

Hi Louis - I would try moving your android sdk out of your downloads folder (maybe somewhere inside documents?). The other thing I would double-check is whether there are any other copies of the sdk on your system that might confuse LC. But basically I dunno, assuming you are including Android 2.2 in your downloads and other basic things it be by time to try uninstalling and reinstalling android.

BTW I find LC 7.0.5 works best with Android when compared to earlier versions of 7...
"...this is not the code you are looking for..."

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: JDK Path does not appear

Post by LCNeil » Thu Jun 04, 2015 8:52 am

Hi Louis,

This is known issue and our QC team is looking into it-

http://quality.runrev.com/show_bug.cgi?id=11566

Basically, although the path is not auto-filling..LC can still see the path.

I see that you can successfully build an APK but it is crashing. This should not be happening. If possible, could you please report this to our QC team as they will be able to investigate further

http://quality.runrev.com

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
-

Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

Re: JDK Path does not appear

Post by Jellobus » Wed Jun 10, 2015 7:22 pm

Hi Dave and Neil,

I completely formatted my mac and installed all required tools then I tried again.

The result was same

1. In LC 7.0.5, JDK path does not appear but able to build .apk file.
2. .apk is installed on the android device.
3. App crashes as soon as it launches.

One thing I have not inform you is that the stack file is originally built with LC 6.5.2 and I updated tool to LC 7.0.5 because it supports unicode text.
I think its nothing wrong with LC 7.0.5 for the app crash. I guess shifting LC version from 6 to 7 caused crash.
If it is the case, should I rebuild a stack file again from scratch with LC 7.0.5? I hope there is some walk around to solve this issue.

Cheers,

Louis

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: JDK Path does not appear

Post by jacque » Thu Jun 11, 2015 4:48 pm

I can almost guarantee it isn't your Mac or your stack, so save yourself some trouble. Submit a bug report as Neil suggests, its a LiveCode issue. Offer to send your stack if they need it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: JDK Path does not appear

Post by MaxV » Wed Jun 17, 2015 10:32 am

I read on another forum that installing Eclipse solve this bug... You could try. :wink:
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply