Hi AppStudio team
I am attempting to deploy an app to the Google Play store. This app replaces an existing app made by a different developer over a year ago.
I have got all the way to the last step where I want to publish the app into production, and I'm getting an error message.
It's saying that the apk's (that came out of CloudMake) are targeting SDK 16, and is rejecting it because it needs to target SDK 23 or higher.
The app is built using AppStudio 2.x and Runtime v100.1.
Can anyone tell me why this is happening and what to do to get the apk targeting the higher version? Is there something I can do to the APK files, or is this a change that would need to happen on the build servers?
See attached screenshot.
Thank you for reaching out. This requires a more involved discussion than a geonet reply.
You can reach out the support for similar issues.
Watch out for a reply from us.
After chatting with Sathya this morning, we were able to establish that AppStudio v3.0 is already set to target SDK23 for android, so submitting the build through v3.0 achieves what I need for Android.
There is also a way to manually set this target sdk version information for android in the appinfo.json file, but only 3.0 seems to honour the setting.
FYI. Behavior changes listed in the below docs apply to your app when you set the targetSdkVersion to 23+
For e.g., Once the targetSdkVersion is set to 23+, apps need to support the new Android permission model, where users can directly manage app permissions at runtime.
This is already handled in AppFramework (AppStudio 3.0) and Qt Framework (Qt5.10.0 used in AppStudio 3.0). AppStudio 2.x does not support the Android runtime permission model. So, using AppStudio 3.0 would be the way to go.