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
Location: Earth, Except when i Jump

Re: Common Android Deployment issues

Post by sphere » Thu Oct 26, 2017 9:19 pm

Great you've got it working again :)

gagsoft
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by gagsoft » Tue Mar 06, 2018 9:41 pm

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
Location: Earth, Except when i Jump

Re: Common Android Deployment issues

Post by sphere » Wed Mar 07, 2018 12:43 pm

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: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Common Android Deployment issues

Post by jacque » Wed Mar 07, 2018 5:42 pm

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

gagsoft
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by gagsoft » Sun Mar 25, 2018 12:43 pm

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: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Common Android Deployment issues

Post by FourthWorld » Sun Mar 25, 2018 3:45 pm

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: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Common Android Deployment issues

Post by jacque » Sun Mar 25, 2018 7:40 pm

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

gagsoft
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Common Android Deployment issues

Post by gagsoft » Mon Mar 26, 2018 11:49 am

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 » Tue May 29, 2018 5:05 pm

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: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Common Android Deployment issues

Post by simon.schvartzman » Thu Oct 25, 2018 9:35 pm

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 26186 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 ";" or not to ";" that is the question

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Common Android Deployment issues

Post by sphere » Fri Oct 26, 2018 5:39 pm

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: 638
Joined: Tue Jul 29, 2014 12:52 am
Location: Brazil

Re: Common Android Deployment issues

Post by simon.schvartzman » Fri Oct 26, 2018 8:11 pm

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 ";" or not to ";" that is the question

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Common Android Deployment issues

Post by jacque » Sat Oct 27, 2018 5:06 pm

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
Location: Earth, Except when i Jump

Re: Common Android Deployment issues

Post by sphere » Sat Oct 27, 2018 5:10 pm

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: 7210
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Common Android Deployment issues

Post by jacque » Sat Oct 27, 2018 9:22 pm

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

Return to “Android Deployment”