Issue with targetsdkversion (Appstudio w/cloud make)

497
4
03-24-2023 01:51 PM
Leandro-Zamudio
Occasional Contributor

Hi.

I've made an app with Appstudio 5.4 and Runtime 100.14.

It works fine but when i make the apk and upload it into Google Play to internal testing it shows the following message as a tester:

Imagen de WhatsApp 2023-03-24 a las 17.40.37.jpg

Translated: This app is not available for your device because it was built for an older version of Android

Note: I'm trying to test it in Android 11.

I setup the target sdk version in appinfo.json like this:

    "deployment": {
        "android": {
            "minimumSdkVersion": 31,
            "packageName": "<app bundleid that cannot reveal>",
            "targetSdkVersion": 33
        },

This is following the Google Play API Levels | Android versions, SDK/API levels, version codes, codenames, and cumulative usage

Is there anything that i'm doing wrong?, because my current release works fine in production

LeandroZamudio_0-1679690888496.png

But my updated version don't

LeandroZamudio_1-1679690981064.png

 

Thank you in advance

Leandro

0 Kudos
4 Replies
AdityaAllamraju1
Esri Contributor

Hi @Leandro-Zamudio ,

This issue may also happen because of an outdated AppStudio app (5.4), I recommend you download the latest version 5.5.180, and re-do the Cloud Make process because the Cloud Make systems are really setup to only support latest AppStudio versions and any previous version may not cloud make correctly as expected. Let us know if that works.

If the above process still shows the error, we would like to know the exact steps you were performing to get the app? Also, when was the initial apk downloaded? Any kinds of changes or updates you made after that to the app?

Thanks.

0 Kudos
Leandro-Zamudio
Occasional Contributor

Hi.

After updating AppStudio to 5.5.180 now i can't even make the build.

LeandroZamudio_0-1679948611295.png

I have been waiting like an hour to build the app via cloud make.

 

 

 

SYeats
by
New Contributor

There seems to be something wrong with the Cloud Make process.  I haven't been able to get a build to works since early Friday afternoon.

0 Kudos
Leandro-Zamudio
Occasional Contributor

Update: I built the apk now with 5.5.180 (for some reason i could make it installing the software on another pc) successfully.

I upload it to Play Console and the problem persists (same message).

In app studio I just:

1. Set up the settings (certificates and stuff) the update i did in the apk was change a featureservice parameter (nothing changed in the code). Just in case i deleted the minimumsdkversion and targetsdkversion for android

LeandroZamudio_0-1680005138835.png

2. Upload it

LeandroZamudio_1-1680005183465.png

3. Select Make and choose cloud option.

LeandroZamudio_2-1680005255307.png

4. Set the password for android and iOS keys.

LeandroZamudio_3-1680005323863.png

5. and request build, download from OTA and upload it into play console

This is the play console result of the releases (it's a wider range than before).

LeandroZamudio_4-1680005421318.png

 

 

0 Kudos