skip to Main Content

Some users reported this error when attempting to install my app from Google Play store. I could not find any reference to it, so documenting the solution here.

2

Answers


  1. Chosen as BEST ANSWER

    I found this little gem in a list of notifications in google play developer:

    Starting from 1 Nov 2022, apps that don't target an API level within two years of the latest Android release (API 29 and below) won't be available to new users with devices running Android versions newer than your app's target API level. This means that new users won't be able to discover or install your app on Google Play

    Wow! That is going to cause a heck of a lot of apps to stop working, and require a lot of development work on apps that are perfectly functional and don't otherwise need updating.

    Solution is to update your targetSdkVersion in your app.

    And remember to do this every 2 years for all your apps!

    (For my build tools I find searching everywhere using Android Studio for 'targetSdkVersion' and updating the numbers from 29 to 31 is the simplest approach, then fixing any resulting build errors, which in this case meant I had to upgrade Android Studio as well due to java version 11 being required for android 31 - refer unrecognized Attribute name MODULE (class com.sun.tools.javac.util.SharedNameTable$NameImpl)).


  2. I ran into a similar error. We had an APK with API 31 in the internal test release section. In the Google Play console and devices with Android 12 and 13, we were presenting that message when trying to download the app:

    This app isn’t available for your device because it was made for an older version of Android.

    The way it was solved is to release this version with API 31 or higher to production. This is because the store has a bug in it, and if you currently have an old APK in production with an API of 29, for example, this will generate an incompatibility with the others APKs that are in the test segments. That is, when launching to production, the new APK deactivates the old version that creates a conflict, and there will no longer be a problem when downloading on the new devices.

    If you see this test as risky, you can make a progressive launch of 1% in the production segment.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search