Page 1 of 1

LC building .apk but simulator not working.

Posted: Mon Apr 15, 2013 10:47 pm
by paul_gr
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

Re: LC building .apk but simulator not working.

Posted: Mon Apr 15, 2013 11:47 pm
by Simon
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

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 12:05 am
by paul_gr
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

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 12:13 am
by Simon
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

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 12:31 am
by paul_gr
Thanks Simon,
Sounds like a good idea; I'll reinstall as 32bit and see what happens.

cheers
Paul

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 9:24 pm
by paul_gr
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

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 11:08 pm
by Simon
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

Re: LC building .apk but simulator not working.

Posted: Tue Apr 16, 2013 11:18 pm
by paul_gr
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