API level 29

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

trevix
Posts: 950
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

API level 29

Post by trevix » Wed Aug 12, 2020 10:33 pm

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?
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: API level 29

Post by sphere » Thu Aug 13, 2020 12:06 pm

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.

cdev007
Posts: 11
Joined: Sun Oct 04, 2020 7:41 pm

Re: API level 29

Post by cdev007 » Fri Sep 10, 2021 8:15 pm

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.

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

Re: API level 29

Post by jacque » Sat Sep 11, 2021 5:17 pm

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"
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

cdev007
Posts: 11
Joined: Sun Oct 04, 2020 7:41 pm

Re: API level 29

Post by cdev007 » 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."

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

Re: API level 29

Post by jacque » Mon Sep 20, 2021 8:57 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

cdev007
Posts: 11
Joined: Sun Oct 04, 2020 7:41 pm

Re: API level 29

Post by cdev007 » Tue Sep 21, 2021 10:37 pm

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?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: API level 29

Post by FourthWorld » Tue Sep 21, 2021 11:15 pm

Does Google even accept APK uploads anymore?

I thought their requirement to use the new bundle format went into effect Aug 1.
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: API level 29

Post by jacque » Wed Sep 22, 2021 3:26 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

mtalluto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Tue Apr 11, 2006 7:02 pm
Location: Seattle, WA
Contact:

Re: API level 29

Post by mtalluto » Wed Sep 22, 2021 7:33 pm

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.
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com

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

Re: API level 29

Post by jacque » Thu Sep 23, 2021 5:43 pm

And yay! It was just changed to "awaiting release." Same for the billing library.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

mtalluto
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 125
Joined: Tue Apr 11, 2006 7:02 pm
Location: Seattle, WA
Contact:

Re: API level 29

Post by mtalluto » Thu Sep 23, 2021 7:20 pm

9.6.5 rc1 is ready for download!
Mark Talluto
--
Canela
design - develop - deploy: https://appli.io
Database and Cloud for LiveCode Developers: https://livecloud.io
Company: https://canelasoftware.com

SteveB
Posts: 40
Joined: Mon Sep 30, 2019 4:49 pm

Re: API level 29

Post by SteveB » Mon Aug 08, 2022 5:29 pm

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.

heatherlaine
Site Admin
Site Admin
Posts: 342
Joined: Thu Feb 23, 2006 7:59 pm
Location: Wales

Re: API level 29

Post by heatherlaine » Mon Aug 08, 2022 5:50 pm

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

SteveB
Posts: 40
Joined: Mon Sep 30, 2019 4:49 pm

Re: API level 29

Post by SteveB » Mon Aug 08, 2022 6:23 pm

Thanks Heather. I'll take you up on that. Editing the manifest.xml file doesn't seem to work anymore..

Steve

Post Reply

Return to “Android Deployment”