We currently have an Ionic 1 project that we need to update to Android API 31. To achieve this we have updated the config.xml by setting the android-targetSdkVersion from 29 to 31. Then in Appflow, we have successfully created a build using the build stack Linux 2021.10 but when we tried installing the APK on an actual android device it fails. We are getting an error message that says “There was a problem while parsing the package.”.
We are wondering if we did the correct steps to update to Android API 31 or miss anything? Your comments and suggestions are much appreciated, thank you in advance.