Page 1 of 1

LC 10.0 dp-7 Android Deployment

Posted: Sun Dec 17, 2023 3:49 pm
by JereMiami
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?

Re: LC 10.0 dp-7 Android Deployment

Posted: Mon Dec 18, 2023 6:18 pm
by jacque
Do you get any errors, and if so, what are they?

Re: LC 10.0 dp-7 Android Deployment

Posted: Sat Dec 23, 2023 11:31 am
by JereMiami
"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.

Re: LC 10.0 dp-7 Android Deployment

Posted: Sat Dec 23, 2023 5:16 pm
by AndyP
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.

Re: LC Android Deployment

Posted: Mon Dec 25, 2023 10:23 am
by yashine
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.

Re: LC dp-7 Android Deployment

Posted: Mon Dec 25, 2023 11:06 am
by yashine
i think the above worked but now i get this error

thank you for helping further