I'm getting this error when trying to install an updated APK. I haven't worked on this app for a while and intend to make some improvements.
For now, all I did was change some settings in the manifest and then tried to re-install the app. Basically, I was expecting it to fail to copy a file to external storage because there currently is no code to check for run-time permissions. Instead, it failed to install altogether!
I changed min sdk from 12 to 16, and target sdk from 19 to 26:
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="26"/>
Initially, I forgot to change the Private sign key file from my "business" one to my "personal" one, but I thought of that the first time it failed and still no luck.
So I have confirmed the following:
- The package name is identical to what I previously used (obviously, hence the error)
- The keystore (private sign key) is the same file I previously used
- The password is correct (I actually use the same password for both the business & personal sign keys)
- I tried increasing the version code by one, and still no luck
- I am referencing Android.jar v27, if it makes any difference, which is much higher than previously used
- I tried Tools>Clean Project numerous times
I am using B4A Wireless bridge. B4A is v8. This app was probably last changed several major B4A versions prior.
Any ideas? I could change the package name but this is an app I made for work and others use it too.