I have the emulator running (a Pixel 3, for what it's worth). But, the Test Target remains greyed out. I wonder if it is because the JDK path is none. But, my understanding is that it is supposed to populate on its own. Well, it's not working for me. I do have Java 8 installed. I'm not really sure what to do. I appreciate any help that can be offered.
Test Target Greyed Out
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Test Target Greyed Out
I am pretty new to LiveCode, although I was a SuperCard programmer, back in the day.
I am a teacher and would like to get my students to design apps using the Community Edition of LiveCode. But, I cannot get the Android emulator from the Development kit to work. I have careful followed all of the steps of the various lessons, and searched the form for hints, but no luck.
I have the emulator running (a Pixel 3, for what it's worth). But, the Test Target remains greyed out. I wonder if it is because the JDK path is none. But, my understanding is that it is supposed to populate on its own. Well, it's not working for me. I do have Java 8 installed. I'm not really sure what to do. I appreciate any help that can be offered.
I have the emulator running (a Pixel 3, for what it's worth). But, the Test Target remains greyed out. I wonder if it is because the JDK path is none. But, my understanding is that it is supposed to populate on its own. Well, it's not working for me. I do have Java 8 installed. I'm not really sure what to do. I appreciate any help that can be offered.
Re: Test Target Greyed Out
Right, the path to the SDK is important, it's what LC uses to build the Android app. Without the right path you get nothing. It looks like your chosen path is correct, though on my Mac "sdk" is all lower case. Not sure about Windows, but since you chose the sdk from the file picker I have to assume it's correct.
I believe I downloaded SDK 8.1. You will need the latest version of the Build Tools and also the platform tools (I think, at least, that's what I have.) Also you need to install some SDK packages. Do you use Android Studio or just the raw command line tools? I can give you more instructions once I know.
I believe I downloaded SDK 8.1. You will need the latest version of the Build Tools and also the platform tools (I think, at least, that's what I have.) Also you need to install some SDK packages. Do you use Android Studio or just the raw command line tools? I can give you more instructions once I know.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Test Target Greyed Out
Thank you for writing.
I used Android Development Studio. Any help would be most appreciated. I am stuck.
I used Android Development Studio. Any help would be most appreciated. I am stuck.
-
LiveCode_Panos
- Livecode Staff Member

- Posts: 865
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test Target Greyed Out
Hello egolombek,
Welcome to LiveCode.
What are the contents of the folder /Library/Java/JavaVirtualMachines/ ?
Kind regards,
Panos
--
Welcome to LiveCode.
What are the contents of the folder /Library/Java/JavaVirtualMachines/ ?
Kind regards,
Panos
--
Re: Test Target Greyed Out
I am not really sure what you mean. I could not find what you are asking for (my apologies). Is the attached helpful? Thank you so much for your help. Eric
-
LiveCode_Panos
- Livecode Staff Member

- Posts: 865
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test Target Greyed Out
Oh sorry, I did not realise you are on Windows.
Tomorrow I will have access to a Windows machine that I use for building Android apps with LiveCode, so I'll check my Java setup there and let you know.
It seems like your JDK path is not populated because of an incompatibility with the version of Java you have installed.
Kind regards,
Panos
---
Tomorrow I will have access to a Windows machine that I use for building Android apps with LiveCode, so I'll check my Java setup there and let you know.
It seems like your JDK path is not populated because of an incompatibility with the version of Java you have installed.
Kind regards,
Panos
---
Re: Test Target Greyed Out
Thank you. I appreciate your help. Eric
-
LiveCode_Panos
- Livecode Staff Member

- Posts: 865
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test Target Greyed Out
Hello Eric,
So, my jdk path is C:\Program Files\Java\jdk1.7.0_45
What are the contents of this folder for you:
C:\Program Files\Java\ ?
Kind regards,
Panos
--
So, my jdk path is C:\Program Files\Java\jdk1.7.0_45
What are the contents of this folder for you:
C:\Program Files\Java\ ?
Kind regards,
Panos
--
Re: Test Target Greyed Out
I don't have such a folder, actually. There is no Java folder in the C:\Program Files folder.
-
LiveCode_Panos
- Livecode Staff Member

- Posts: 865
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Test Target Greyed Out
Ok, so this looks like you have no jdk installed.
I guess you can just download the file "jdk-8u241-windows-x64.exe" from this page:
https://www.oracle.com/technetwork/java ... 33151.html
and then go through the installation process. Then go back to LC, and re-select your android-sdk path. Hopefully this will force the (newly installed) jdk path to populate.
Kind regards,
Panos
--
I guess you can just download the file "jdk-8u241-windows-x64.exe" from this page:
https://www.oracle.com/technetwork/java ... 33151.html
and then go through the installation process. Then go back to LC, and re-select your android-sdk path. Hopefully this will force the (newly installed) jdk path to populate.
Kind regards,
Panos
--
Re: Test Target Greyed Out
The good news is... when I downloaded jdk again (and LiveCode updated), this line is now populated. The bad news is... the test target is still greyed out. Frustrating.
Re: Test Target Greyed Out
Make sure the emulator is up and running and also that you have selected the Android build in standalone settings. If that doesn't work you may have to restart LiveCode.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Test Target Greyed Out
What Jaque said!
OR connect your cellphone directly via USB (or whatever), that should also appear as "test target".
OR connect your cellphone directly via USB (or whatever), that should also appear as "test target".
Re: Test Target Greyed Out
So that last part was the trick... I did not realize I needed to select standalone settings. In fact, I really did not know that the simulation requires building a standalone - I thought that it would work dynamically ie I add something to my liveCode stack and immediately it is testable on the emulator. Now I see that this is not the case. Anyway, it works! Whoever puts together the instructions for LiveCode and the simulator, should consider adding this crucial step.
Thank you all for your help!
Thank you all for your help!
