Android Studio LadyBug 2024.2.1

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

SparkOut
Posts: 2943
Joined: Sun Sep 23, 2007 4:58 pm

Re: Android Studio LadyBug 2024.2.1

Post by SparkOut » Mon Feb 17, 2025 2:33 pm

j9v6 wrote:
Wed Nov 13, 2024 12:11 pm
LiveCode_Panos wrote:
Fri Oct 11, 2024 8:10 am
Hello Al,

You need to ensure the installed version of the SDK Build Tools is *exactly* 31.0.0 - and no newer version of the *build tools* is installed.

Kind regards,
Panos
Hi Panos, yes that was it exactly! All up and running now. Thanks

macrhino
Posts: 3
Joined: Tue Nov 17, 2009 4:32 pm

Re: Android Studio LadyBug 2024.2.1

Post by macrhino » Tue Feb 18, 2025 7:14 pm

Sparkout. I don't know if that reply was to me but SDK Build tool is 31.0 and only that one.

Any ideas?

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by thatkeith » Sun Mar 23, 2025 10:36 pm

I have the same problem: I have followed the steps outlined in this LiveCode lesson: https://lessons.livecode.com/a/1770871- ... -checklist

I can see all the expected directories that the lesson says I should see, but when I try to set the SDK root path in LC it tells me "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for 14 (API 34)"

I'm stumped. :-/
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

heatherlaine
Site Admin
Site Admin
Posts: 351
Joined: Thu Feb 23, 2006 7:59 pm

Re: Android Studio LadyBug 2024.2.1

Post by heatherlaine » Mon Mar 24, 2025 12:07 pm

Do you have Java 8 and only Java 8 installed?

Best Regards,

Heather

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by thatkeith » Wed Mar 26, 2025 1:44 pm

Yes, as per the LiveCode lesson (https://lessons.livecode.com/a/1770871- ... -checklist) I installed JDK8 and now have this: /Library/Java/JavaVirtualMachines/jdk-1.8.jdk

There's no other Java installation that I know of or can find on this Mac. (I'm sure there isn't but I looked around anyway.)
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by thatkeith » Wed Mar 26, 2025 1:49 pm

Oddly, when I launch Android Studio I get this notice:
missing-sdk.jpg
But when I look in the SDK manager I see this:
existing-sdk.jpg
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

thatkeith
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 383
Joined: Mon Mar 01, 2010 7:13 pm
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by thatkeith » Wed Mar 26, 2025 4:03 pm

After poking deeper and cross-referencing with the LiveCode lesson, AND going for Android 14 ("UpsideDownCake") instead of 13 (and getting past the confusion of the Android API 34 reference), I got LiveCode to accept the SDK path.

Next hurdle: I have "Signing: Do not sign" set for this stack, but the build process ends with a message about signing failing:

There was an error while saving the standalone application
signing failed - keystore load: Invalid keystore format


Given that the Standalone Application Settings specifically say 'do not sign' is this a hiccup? I'm using 10.0.1 (rc3).

k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by Klaus » Wed Mar 26, 2025 4:22 pm

Hi Keith,

ouch, I have the same problem with a VALID keystore file, but with: Android Studio Iguana | 2023.2.1 Patch 1
I also get this message:
There was an error while saving the standalone application
signing failed - keystore load: Invalid keystore format


I know that the key is valid, since last year Matthias Rebbe was so kind to create an
android runtime for me with exactly that same key!?

So I guess this might be a problem with LC?
I will ask the mailing list, maybe someone can take a looke here and can help.

Edit: DONE!

Best
Klaus

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 861
Joined: Fri Feb 06, 2015 4:03 pm

Re: Android Studio LadyBug 2024.2.1

Post by LiveCode_Panos » Thu Mar 27, 2025 9:09 am

Hello all,

The "Do not Sign" option has a bug - instead you can choose either "Sign for Development only" or "Sign with my key" and choose a valid keystone file in this case.

Kind regards,
Panos
--

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by Klaus » Thu Mar 27, 2025 10:27 am

Hi Panos,

thank you for taking a look here!

But what could cause my problem WITH a valid keystore file?
I use "Sign with my key" and LC does show the mentioned error, the key IS in fact valid!


Best

Klaus

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 861
Joined: Fri Feb 06, 2015 4:03 pm

Re: Android Studio LadyBug 2024.2.1

Post by LiveCode_Panos » Thu Mar 27, 2025 2:12 pm

Hello Klaus,

Hmm, not sure TBH! I have not encountered this issue.

I would only suggest you type your keystore passwords very slowly, since if you type fast some keystrokes are missed (and thus the password typed is incorrect).

Also, how did you create your .keystore file? Did you follow this lesson, specifically the part "How to create a certificate using Android Studio" here:

https://lessons.livecode.com/m/4069/l/3 ... ndroid-app

Kind regards,
Panos
--

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by Klaus » Thu Mar 27, 2025 2:19 pm

Hi Panos,

well I quadruple-checked the passwords etc. and even copied them from a text file, they are in fact correct.

Remember the big problems I had last autumn with creating that keystore file? :(
Anyway, Matthias R. used exactly that namely keystore file to kindly and successfully created a runtime
for me last year that I could successfully upload to the Google dev account.

I could send you the key file via private email for testing if you'd like to check.
I'm completely lost...

Best

Klaus

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android Studio LadyBug 2024.2.1

Post by Klaus » Thu Mar 27, 2025 4:41 pm

Do you happen to know the correct ORDER of the dialogs, see below, where you enter alias name and password and whatnot for the keystore file?
So I can exclude this as the source of my inconvenience, thank you! :D

?. password for Keystore file
?. aliasname for key
?. password for key

Post Reply