3

Today I started to get this annoying message (when installing APK outside the Google Play):

This app was built for an older version of Android and doesn't include the latest privacy protections

Google play message

What is this message? What should we do?

I believe that it's because of the targetSdkVersion but can't find anything about it.

^^^^ UPDATE ^^^^

It turns out that when I changed targetSdkVersion from 24 to 26 - the message disappeared.

zvi
  • 3,677
  • 2
  • 30
  • 48

2 Answers2

0

It seems that Google started to enforce using minimum targetSdkVersion of 26 for APK installed outside the Google Play Store.

So you'll have to updated your targetSdkVersion in the AndroidManifest.xml file in your project.

zvi
  • 3,677
  • 2
  • 30
  • 48
0

I also had your problem To fix the problem, just put your target SDK on the latest version

for example

android {
namespace 'ir.galaxycell.kako'
compileSdk 33

buildFeatures{
    dataBinding true
}

defaultConfig {
    applicationId "ir.galaxycell.kako"
    minSdk 21
    targetSdk 33
    versionCode 1
    versionName "1.0"

    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}