API level 29

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

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
trevix
Posts: 664
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 10.15.7 LC 9.6.2 RC6 iOs 14.4.2> 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: 9
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: 6174
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

Post Reply

Return to “Android Deployment”