Search code examples
androidapktarget-sdkgoogle-play-protect

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


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.


Solution

  • 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.