Test button greyed out?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Test button greyed out?
The SDK and JDK have been installed and set up as best I can, as no up to date lessons applicable.
The TEST button on the Livecode tool bar is still greyed out and I need to simulate the mobile app I am working on.
Any help would be appreciated.
Thank you.
The TEST button on the Livecode tool bar is still greyed out and I need to simulate the mobile app I am working on.
Any help would be appreciated.
Thank you.
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test button greyed out?
Hi user#606,
Do you see your device or the simulator under the Development -> Test Target menu? If yes, select it, and click Development -> Test (this is equivalent to the Test button in the LC menubar)
Best,
Panos
--
Do you see your device or the simulator under the Development -> Test Target menu? If yes, select it, and click Development -> Test (this is equivalent to the Test button in the LC menubar)
Best,
Panos
--
Re: Test button greyed out?
Hi Panos,
the items are greyed out, as I would expect, if the Test icon is greyed out.
The problem is before this stage.
The Preferences - mobile - has the correct SDK path, but the (uneditable) JDK path shows none. It was installed in the default folder as stated in a lesson.
The SDK (Studio, because lessons out of date) has been installed with the 4.0.3 version Icecreamsandwich.
I can run a simulator from the SDK, but that only runs from a new project created in the studio.
All a bit of a shambles, really!
Any other pointers?
the items are greyed out, as I would expect, if the Test icon is greyed out.
The problem is before this stage.
The Preferences - mobile - has the correct SDK path, but the (uneditable) JDK path shows none. It was installed in the default folder as stated in a lesson.
The SDK (Studio, because lessons out of date) has been installed with the 4.0.3 version Icecreamsandwich.
I can run a simulator from the SDK, but that only runs from a new project created in the studio.
All a bit of a shambles, really!
Any other pointers?
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test button greyed out?
Hi user#606,
Now, this should be a clue:
Best,
Panos
--
Sometimes the Test button is greyed out, even though the "Development-> Test target" and "Development-> Test" are not, this is why I suggested checking these options.the items are greyed out, as I would expect, if the Test icon is greyed out.
Now, this should be a clue:
What version of Java have you installed? I think currently LC does not like Java9. And BTW are you on Mac or Windows?The Preferences - mobile - has the correct SDK path, but the (uneditable) JDK path shows none.
Best,
Panos
--
Re: Test button greyed out?
It is Java 9 on win 10 LC 8.1.9
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test button greyed out?
Ok, yes this is the culprit then. LC cannot find the path to Java 9. This is a bug, reported here:
http://quality.livecode.com/show_bug.cgi?id=20719
I suggest downloading Java 8 until this bug is fixed.
Best,
Panos
--
http://quality.livecode.com/show_bug.cgi?id=20719
I suggest downloading Java 8 until this bug is fixed.
Best,
Panos
--
Re: Test button greyed out?
OK, Java 8 installed and android bits included, but TEST still greyed out and simulator still will not produce a working apk. The apk produces a parsing erroe on device. The app (at this stage) is just the stack and a picture.
Re: Test button greyed out?
Did you created a virtual android device?
Did you started it?
Did you read this: http://livecode.wikia.com/wiki/Android_ ... enviroment ?
Did you started it?
Did you read this: http://livecode.wikia.com/wiki/Android_ ... enviroment ?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
-
- VIP Livecode Opensource Backer
- Posts: 7227
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Test button greyed out?
It sounds like you can't use the test button but you can build an apk, right? What is the error you get on installation?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com