Page 1 of 2

API level 29

Posted: Wed Aug 12, 2020 10:33 pm
by trevix
OSX 10.14.6
LC 9.6.0
jdk 1.8.0_231.jdk

After reading this:
I opened the SDK manager and updated to API 29

But I still get this on the Google Play Console, updating 4 separated APK:
Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance.
What am I missing?

Re: API level 29

Posted: Thu Aug 13, 2020 12:06 pm
by sphere
It's fixed in LC9.6.1rc2

It has nothing to do with your installed SDK, LC must be manually updated each time google changes the target.
I created a bug report for it and it is already fixed.

Re: API level 29

Posted: Fri Sep 10, 2021 8:15 pm
by cdev007
When I upload to Google Play Console it comes up with this error as well (though now a year later it needs to target API 30).

With LiveCode's break from free/opensource, is this something that will only be available in the paid version or is there a way to make my app target an API of 30.

In trying to solve this problem myself I've tried editing the manifest.xml file (Program Files (x86)\RunRev\LiveCode Community 9.6.2\Runtime\Android) so it explicitly says 30 for the targetSdkVersion (I used the following as a basis https://developer.android.com/guide/top ... dk-element) but it didn't work. (Note that I've downloaded the most recent API in Android Studio.)

Here is the error in full:
Your app currently targets API level 29 and must target at least API level 30 to ensure it is built on the latest APIs optimized for security and performance.

Re: API level 29

Posted: Sat Sep 11, 2021 5:17 pm
by jacque
Edit the android:targetSdkVersion in the template manifest at the LC file location you posted. Remove the curly brackets and everything in between and substitute "30". You may need to restart LC for it to recognize the change.

It should look like this:
android:targetSdkVersion="30"

Re: API level 29

Posted: Mon Sep 20, 2021 7:31 pm
by cdev007
I did exactly what you said but when I uploaded it to Google Play I got the error:
You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 30 requires a minimum of signature scheme v2; the APK is not signed with this or a later signature scheme
When I download the apk then install it on my Android phone it says "App not installed."

Re: API level 29

Posted: Mon Sep 20, 2021 8:57 pm
by jacque
cdev007 wrote:
Mon Sep 20, 2021 7:31 pm
I did exactly what you said but when I uploaded it to Google Play I got the error:
You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 30 requires a minimum of signature scheme v2; the APK is not signed with this or a later signature scheme
When I download the apk then install it on my Android phone it says "App not installed."
Sorry, I gave you outdated info. I am in the process of preparing an apk today and had the same problem, but in fact LC wouldn't even accept the altered manifest and refused to build. So something has changed. For now, since I am just testing, I'm using the built-in manifest but we're stuck until LC updates its standalone builder.

I also need billing library 3 or higher and we don't have that yet either. If you aren't using in-app purchasing that won't affect you.

Re: API level 29

Posted: Tue Sep 21, 2021 10:37 pm
by cdev007
Thanks for your information.
With the transition to a paid Livecode do you happen to know if that update will happen for the free version?

Re: API level 29

Posted: Tue Sep 21, 2021 11:15 pm
by FourthWorld
Does Google even accept APK uploads anymore?

I thought their requirement to use the new bundle format went into effect Aug 1.

Re: API level 29

Posted: Wed Sep 22, 2021 3:26 am
by jacque
The free community version is no longer supported so there won't be any updates.

Google requires app bundles now for all new apps submitted to the Play Store. For existing apps already released in the store the deadline is November, I assume on the first, for all updates.

Re: API level 29

Posted: Wed Sep 22, 2021 7:33 pm
by mtalluto
https://quality.livecode.com/show_bug.cgi?id=22251

Shows they are testing the fix now. I would guess we should have access to an updated LiveCode soon.

Re: API level 29

Posted: Thu Sep 23, 2021 5:43 pm
by jacque
And yay! It was just changed to "awaiting release." Same for the billing library.

Re: API level 29

Posted: Thu Sep 23, 2021 7:20 pm
by mtalluto
9.6.5 rc1 is ready for download!

Re: API level 29

Posted: Mon Aug 08, 2022 5:29 pm
by SteveB
I built an app this morning using 9.6.8 and uploaded it to the Play store for testing.

Did some tweaks this afternoon and tried to upload again.

Result:

Your app currently targets API level 30 and must target at least API level 31 to ensure it is built on the latest APIs optimized for security and performance.

So Google updated the requirements as of today.

Re: API level 29

Posted: Mon Aug 08, 2022 5:50 pm
by heatherlaine
Hi folks,

Just a note to say - we have a build in the works that supports API31, its currently in testing and should be good for release very soon. If anyone is urgently affected please contact support and we can offer an interim (test) build to try.

Best Regards,

Heather

Re: API level 29

Posted: Mon Aug 08, 2022 6:23 pm
by SteveB
Thanks Heather. I'll take you up on that. Editing the manifest.xml file doesn't seem to work anymore..

Steve