ShiVa Developer Forum • View topic - Taget SDK vs. Min SDK
 

Taget SDK vs. Min SDK

Google Play Store, Amazon Kindle, Nook, and so many more

Taget SDK vs. Min SDK

Postby giggsy » 2018-03-23 13:00

Hi,

Looking at the generated android manifest, it seems the system api setting in the publishing settings controls the min sdk, right?
E.g.
<uses-sdk android:minSdkVersion="26" />

It would also be great, if you could set a separate value for the target SDK, leading to e.g.
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="26" />

Why?
Google favors apps, which use a most recent target sdk, but if your game runs on a lower android version, you must specify that aswell.

Thanks!
giggsy
Platinum Boarder
Platinum Boarder
 
Posts: 1154
Joined: 2010-06-27 21:17
Location: Austria

Re: Taget SDK vs. Min SDK

Postby broozar » 2018-03-24 00:28

sounds like a feature request, please add it to the bugtracker :) http://www.shiva-engine.com/bugtracker/
User avatar
broozar
Administrator
Administrator
 
Posts: 4158
Joined: 2007-09-16 10:22
Location: Berlin - Germany

Re: Taget SDK vs. Min SDK

Postby redmotion » 2018-09-30 11:17

Did this get added to the tracker? (Can't log on to the tracker to check)

I've recently received an email from Google regarding this:-
This is a reminder that starting November 1, 2018, updates to apps and games on Google Play will be required to target Android Oreo (API level 26) or higher. After this date, the Play Console will prevent you from submitting new APKs with a targetSdkVersion less than 26.


Google blog post regarding this:
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html

EDIT: may have bypassed this by exporting to Android Studio, unzipping zip to empty folder. Opening folder as project in Android studio. Then editing the manifest by changing <uses-sdk> entry to:-

Code: Select all
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="26"/>


EDIT2: this isn't enough, you also have to modify the build.gradle file:
Code: Select all
defaultConfig {
      applicationId "com.*****.****"
       minSdkVersion 10
      targetSdkVersion 26
        versionCode 30
        versionName "1.2.1"
redmotion
Platinum Boarder
Platinum Boarder
 
Posts: 594
Joined: 2010-10-02 13:14

Re: Taget SDK vs. Min SDK

Postby giggsy » 2018-10-01 07:45

Yes, if I recall correctly, I added it to the issue tracker but we also fixed it locally for our games.
giggsy
Platinum Boarder
Platinum Boarder
 
Posts: 1154
Joined: 2010-06-27 21:17
Location: Austria


Return to Google Android

Who is online

Users browsing this forum: No registered users and 3 guests

cron