The place to discuss anything and everything about running your LiveCode on Android
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
- Posts: 664
- Joined: Sat Feb 24, 2007 11:25 pm
- Location: Italy
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?
OSX 10.15.7 LC 9.6.2 RC6 iOs 14.4.2> Android 7>
- Posts: 1145
- Joined: Sat Sep 27, 2014 10:32 am
- Location: Earth, Except when i Jump
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.
- Posts: 9
- Joined: Sun Oct 04, 2020 7:41 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.
- VIP Livecode Opensource Backer
- Posts: 6174
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
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:
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com