Hi, I try to upgrade SDK from SDK30 to SDK31 but this error come out when i try to build the project. This is result when i run command ‘ionic cordova build android --prod --release – – --packageType=bundle’. Actually I
Can someone help me, i still cannot find the solution. Thank you in advance. I need to upload this apps to google play as soon as possible. I really need your help.
you might need to restart the computer so the computer see the changes, and/or uninstall SDK tools 31.0.0 so the computer doesn’t try to use that version
but i have another error. Based on this error it said i need to change the minsdk but already changed to the minsdk21. I still got this error. Do you know what should i do?
both cordova-android 10 and 11 use minSDK 22, so if your app is using 19, you might have some plugin installed that sets the minSdkVersion to 19, you’ll have to find it and modify it to use 22