Page 2 of 7

Re: Common Android Deployment issues

Posted: Thu Oct 26, 2017 9:19 pm
by sphere
Great you've got it working again :)

Re: Common Android Deployment issues

Posted: Tue Mar 06, 2018 9:41 pm
by gagsoft
Hi All
Wondering if someone can help me with setting the Android SDK locations in LC Mobile support.
My Android sdk is located here: /Users/peter/library/Android/sdk.
The Library folder is Hiden and I cannot selected from within the LC module suppor
I created an alias in the /documents/myLivecode folder of the Hidden library folder but when selecting it from
within the Mobile Support Android SDK location setting, Livecode quits unexpextedly.

Would really like some pointers on this.

Thanks
Peter G

Re: Common Android Deployment issues

Posted: Wed Mar 07, 2018 12:43 pm
by sphere
Maybe you can't click it, but if you just typed it in (the whole location), then it should become available.

Or you can use explorer and under settings Show Hidden files and folders, then it should also become available, then copy the location to LC

Re: Common Android Deployment issues

Posted: Wed Mar 07, 2018 5:42 pm
by jacque
The SDK can be anywhere, just move it somewhere else where you can see it. I have created a Development folder on my hard drive to hold it and other related things.

Re: Common Android Deployment issues

Posted: Sun Mar 25, 2018 12:43 pm
by gagsoft
Hi Jacque
I created a subfolder under documents called "DevTools" and moved all my Xcode and android stuff there as well as other files.
This is a huge amount of files. I know this might be more of a question for the Apple support team but I was wondering if there is a way to prevent this folder from synching to the iCloud drive?

Thanks
Peter G

Re: Common Android Deployment issues

Posted: Sun Mar 25, 2018 3:45 pm
by FourthWorld
I don't know iCloud's options, but FWIW Nextcloud has sync clients for macOS, Windows, Linux, iOS, and Android, in addition to a built in web interface, with very flexible options for what can be included and excluded from the sync.

And since it's free and open and runs on any machine you want under Apache with PHP, you have total control over capacity as well, along with hundreds of third party apps and flexible account management to collaborate and trade files with friends and clients too.

https://nextcloud.com/

Re: Common Android Deployment issues

Posted: Sun Mar 25, 2018 7:40 pm
by jacque
I don't think iCloud allows selective syncing. But Apple support would probably know more.

Re: Common Android Deployment issues

Posted: Mon Mar 26, 2018 11:49 am
by gagsoft
Hi Jacque and Richard
Got sorted :D
I just had to move the "DevTools" folder just outside of the "documents" folder.
Richard - I will certainly have a look at Nextcloud.

Many thanks
Peter G

Re: Common Android Deployment issues

Posted: Tue May 29, 2018 5:05 pm
by Francis
For Windows,
DO NOT INSTALL JAVA 10.0.1. In fact only install JAVA 8. If you install the latest, in the LC > Preferences > Mobile Support. under the JDK Path, it will be none. Although in the "How do I Become an Android Developer on a PC? > Installing JAVA SDK", it attaches the version 8 as an example, LiveCode should put the same alert like the Android SDK as well just to be crystal clear. There's a bug reported at LiveCode Quality Control Centre - Bug 20719

Re: Common Android Deployment issues

Posted: Thu Oct 25, 2018 9:35 pm
by simon.schvartzman
Guys I'm in hell, for some reason my Android apk is not generated any more and I don't get any error messages. Just the Android file empty when I try to build an App

I have Java 8 installed
sc2.jpeg
sc2.jpeg (33.04 KiB) Viewed 26907 times
I followed @jacque's process (it worked last year) with no success, I get errors from the terminal
sc1.jpeg
Does any one have a clean working procedure to have LC 9.0.1 (running on Mac OS 10) be able to issue an Android App?????

Many thanks in advance...this is extremely frustrating...

Re: Common Android Deployment issues

Posted: Fri Oct 26, 2018 5:39 pm
by sphere
Did you install the Java JRE or the JDK?

If you installed the JRE then remove it and reboot and only install the JDK.

Re: Common Android Deployment issues

Posted: Fri Oct 26, 2018 8:11 pm
by simon.schvartzman
Hi @sphere many thanks for your hint but I have no idea how to check which one do I have installed. Can you please enlighten me?

Re: Common Android Deployment issues

Posted: Sat Oct 27, 2018 5:06 pm
by jacque
From the looks of the terminal window I think you probably have the SDK installed. Open the SDK manager and make sure that you have installed Android 4.0.3. LC now requires that version. Also install the latest build tools.

Re: Common Android Deployment issues

Posted: Sat Oct 27, 2018 5:10 pm
by sphere
Is it correct you are on mac?
So i don't exactly know for mac but you it should be in the control panel or you can check this:
https://www.java.com/en/download/help/v ... manual.xml
or
https://duckduckgo.com/?q=which+java+do ... -5__&ia=qa

perhaps it helps

Re: Common Android Deployment issues

Posted: Sat Oct 27, 2018 9:22 pm
by jacque
On my Mac, the Java SDK is located in the OS Library folder (not the user Library):
<Hard drive name>/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk