I cannot get livecode to recognize the path to the JDK in the mobile support section of the preferences stack. The release notes say it may have to be manually set for linux, but I don't have an available field in order to set it manually. Using Ubuntu 12.04.
Please advise.
Update:
This seems to have been fixed in the most recent release. No problems now.
Last edited by deebee on Sat Nov 10, 2012 1:31 am, edited 1 time in total.
??? There should be a "..." button next to the path which will allow you to navigate to the proper folder.
Of course, the "proper folder" is left as an exercise for the reader. On my Fedora Core system using openjava I'm using
Android development SDK root:
/home/<user>/android-sdk-linux
JDK path:
/usr/lib/jvm/java-1.6.0-openjdk
mwieder wrote:??? There should be a "..." button next to the path which will allow you to navigate to the proper folder.
Yup, I have that, and it allows me to set the path to the ADK.
But I cannot manually set the path to the JDK, there is no "..." button for the JDK path.
I have had the JDK installed in the same location as your Fedora install, but it did not recognize it there either.
The more time I've spent with the emulator, the more I'm convinced it isn't worth it. It takes forever to load, and runs your programs so slowly that it cannot approximate normal behavior on even the slowest of tablets.
I've found a far simpler, much faster solution: Dropbox.
I build into Dropbox, and download to the device and install from there. Simple, and several orders of magnitude faster than waiting for the emulator.
Richard Gaskin LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Back on topic, though, I looked at my various OS implementations and I don't see the "..." button on Windows or OSX. Only on my linux box.
I'm not sure what to make of that, nor of the fact that it doesn't appear on Unbuntu.
jacque wrote:I use Dropbox to transfer Android apps on my Mac too -- the emulator isn't any better there either.
I guess I'm the only one who uses the Android deployment via USB feature. With that enabled, LiveCode has another option in the "test" menu, which sends the compiled standalone to the Android device. I use it successfully with both a Sony android phone and with a HTC android tablet. Easy peasy. In fact, I've never once had a LiveCode app run inside the emulator, and never even start an emulated image. Considering all the jiggery-pokery going on with LiveCode deploying directly to an android device, I'm pretty damn impressed that the whole thing is so easy (once the Android tools are actually installed/working on the main computer).
Having said that, I've not yet tried to develop on linux for Android. I've mostly done it with a mac, and I think I originally tried with Windows last year some time. I assume the USB deployment option would work for Linux too.
I used to plug my Android into my Mac and do what you do, but it was such a pain that I went to over-the-air instead. That was back when I had a slow, old Android device that was very picky and wouldn't always go into developer mode. It usually required several restarts to kick it into gear and eventually I decided the few seconds it took to move the files over wi-fi was a lot less trouble. I usually just save the file directly to Dropbox, so it's pretty fast. With my newer tablet I do occasionally dig out my data cable and plug in, but mostly I still find wi-fi easier. A direct connection is great for logging and debugging though.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
deebee wrote:I cannot get livecode to recognize the path to the JDK in the mobile support section of the preferences stack. The release notes say it may have to be manually set for linux, but I don't have an available field in order to set it manually. Using Ubuntu 12.04.
Please advise.
Update:
This seems to have been fixed in the most recent release. No problems now.