LC building .apk but simulator not working.

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

LC building .apk but simulator not working.

Post by paul_gr » Mon Apr 15, 2013 10:47 pm

Hi all,
Long time LC user but mobile newbie.
Problem is trying to get the LC test button active.
Full commercial version of LC 6.0 installed on Windows 7 64 bit.

LC is compiling an LC project into an Android .apk file, but I can't see what it looks like in the simulator because the test button is greyed out.

So far...
Installed the Android SDK/VDM and can make AVD's ok.
"C:\Program Files\Android\SDK" is the SDK path.
In LC mobile support, have setup the path to the sdk correctly.
LC can see the JDK Path is "C:\Program Files\Java\jdk1.6.0_43

Seems strange that LC is compiling the .apk but won't let me run the simulator.

Grateful for any advice before I start banging my head on the desk :-)

cheers
Paul

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: LC building .apk but simulator not working.

Post by Simon » Mon Apr 15, 2013 11:47 pm

Hi Paul,
This might be dumb of me, your description sounds ok but you left out one step and that is to launch an AVDM profile. You know have the simulator running before trying to test, you don't have to do that for iOS.

Don't know if thats any help.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: LC building .apk but simulator not working.

Post by paul_gr » Tue Apr 16, 2013 12:05 am

Thanks Simon,
I've got the profile running ok, so it isn't that. I really haven't got a clue why the test button is greyed out.

Paul

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: LC building .apk but simulator not working.

Post by Simon » Tue Apr 16, 2013 12:13 am

Maybe it's a problem with 64 bit?
I have Win 7 but the install is at C:/Program Files (x86)/Android/android-sdk and (x86)...Java
I'm running the sim fine here.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: LC building .apk but simulator not working.

Post by paul_gr » Tue Apr 16, 2013 12:31 am

Thanks Simon,
Sounds like a good idea; I'll reinstall as 32bit and see what happens.

cheers
Paul

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: LC building .apk but simulator not working.

Post by paul_gr » Tue Apr 16, 2013 9:24 pm

Still no luck; LC 6.0 can build the .apk but no access to LC test button.
I followed the LC Android release notes for the setup.
I'll drop back to LC 5.4.4 and try again; this time will remove any traces of previous LC installs.

Update 1::
that didn't work either, same result.

Update 2::
Had to go through Development >> test Target. Then the button woke up and became active.

Paul

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: LC building .apk but simulator not working.

Post by Simon » Tue Apr 16, 2013 11:08 pm

Hi Paul,
I've got 4.6x, 5.5.x and 6.0 LC on my machine. I think I used 5.5.3 when I installed the mobile stuff. Of course that doesn't really help you except as a data point.
I have jdk1.6.0_38, can't find which Android sdk I installed.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

paul_gr
Posts: 319
Joined: Fri Dec 08, 2006 7:38 pm

Re: LC building .apk but simulator not working.

Post by paul_gr » Tue Apr 16, 2013 11:18 pm

Hi Simon,
See my last update on previous post, working ok now.
I appreciate your help with this.
Using the latest Android SDK:: adt-bundle-windows-x86-20130219.zip
and the JDK installed is jdk1.7.0_17

cheers
Paul

Post Reply