Common Android Deployment issues

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Common Android Deployment issues

Post by sphere »

Great you've got it working again :)
PeterG
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by PeterG »

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
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Common Android Deployment issues

Post 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
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Common Android Deployment issues

Post 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
PeterG
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by PeterG »

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
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Common Android Deployment issues

Post 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/
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Common Android Deployment issues

Post by jacque »

I don't think iCloud allows selective syncing. But Apple support would probably know more.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
PeterG
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by PeterG »

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
Francis
Posts: 1
Joined: Tue May 29, 2018 5:00 pm

Re: Common Android Deployment issues

Post 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
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Common Android Deployment issues

Post 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 42883 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...
Simon
________________________________________
To "AI", or not to "AI", that is the question
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Common Android Deployment issues

Post 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.
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: Common Android Deployment issues

Post 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?
Simon
________________________________________
To "AI", or not to "AI", that is the question
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Common Android Deployment issues

Post 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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Common Android Deployment issues

Post 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
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Common Android Deployment issues

Post 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
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Post Reply