LC 10.0 dp-7 Android Deployment

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JereMiami
Posts: 119
Joined: Mon Nov 03, 2014 12:17 am

LC 10.0 dp-7 Android Deployment

Post by JereMiami » Sun Dec 17, 2023 3:49 pm

What API and Toolkit should I use? I am on 9.6.11 and use the following:
I've seen various posts related to issues with android deployment with respect to updating to 9.6.10. Let's see if we can have a centralized post dedicated to what exactly we need to tick off in android studio. For me, the following works:

For LiveCode 9.6.10:

For the SDK Platform: Use "Tiramasu" - API 33 and remove everything else.

For the SDK Build Tools: Use 31.0.0, and do not use 30.0.3 or anything higher than 31.0.0.

JAVA: Use Jave 8.0.

Also, the lesson says that the path for the SDK contains a folder called "Library." For me, that is not the case. The path for me is: C:/users/youruser/AppData/Local/Android/Sdk

Hope this helps!
This works for 9.6.11.But this does not work for 10 dp-7. What should I change?

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

Re: LC 10.0 dp-7 Android Deployment

Post by jacque » Mon Dec 18, 2023 6:18 pm

Do you get any errors, and if so, what are they?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

JereMiami
Posts: 119
Joined: Mon Nov 03, 2014 12:17 am

Re: LC 10.0 dp-7 Android Deployment

Post by JereMiami » Sat Dec 23, 2023 11:31 am

"could not encode class bundle" - which if I remember right, this was the same error I got when traversing through different versions of LC9. Will let you know once up an running.

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: LC 10.0 dp-7 Android Deployment

Post by AndyP » Sat Dec 23, 2023 5:16 pm

Hi, I just resolved the same problem on a windows 10 machine. LC 10.0 dp-6

My Preferences settings are:
LiveCode_2023-12-23_17-04-17.jpg
In the build-tools folder of the sdk I have
28.0.3
33.0.0-rc4
33.0.1

In the platforms folder
android-23 and all versions up to and including android-33

One thing I found was, that Livecode did not like more than one version of the java jdk in the java folder, and also LC only worked with the jdk1.8.0_73 version, so something to check.

Hope this helps.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

yashine
Posts: 2
Joined: Mon Dec 25, 2023 10:13 am

Re: LC Android Deployment

Post by yashine » Mon Dec 25, 2023 10:23 am

does the above work for nine six eleven too?
Thank you for all your help
Can more details be given where to find or place the Java file?
and also to those in charge of this forum, it is very crappy system, it is not letting me type and giving me mistake:You can’t post image, email or url links that are external to this domain. Please remove ten.

yashine
Posts: 2
Joined: Mon Dec 25, 2023 10:13 am

Re: LC dp-7 Android Deployment

Post by yashine » Mon Dec 25, 2023 11:06 am

i think the above worked but now i get this error

thank you for helping further
Attachments
WhatsApp Image 2023-12-25 at 13.05.50.jpeg

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”