I have already updated an app to playstore with below-mentioned uses-SDK:
<uses-sdk
android:maxSdkVersion="23"
android:minSdkVersion="17"
android:targetSdkVersion="23"/>
I want to downgrade my targetSdkVersion "23"
to "22"
. I've done it. if I upload to playstore, will the update work for all the users properly?
If you didn't change the code(except the gradle file) and the app still works on the '23' version emulator then there shouldn't be any problem. It really depends on which features(classes and methods) you used in your code. If you didn't use any of Android 6's features in your code, then there shouldn't be any problem downgrading the target sdk version without having any change for android 6 users.
You won't have any problem at all. What you are saying with your
<uses-sdk>
is that your app is fully tested to run in version 22 and can even run in lower versions until 17.I suggest you to take a look to this documentation ver carefully.
NO. You'll not be able to update your app by changing target SDK from 23 to 22.
PROBLEM
Users that have the APK with version code 6, which targets SDK 23 or higher, will receive an error when they attempt to upgrade to this APK because it targets SDK 22.
Now, as you all know, when we keep target SDK to <23, while installing the app by default all the permissions are granted for the app and if we keep target SDK 23 or higher, all the permissions are set to OFF while installing the app.
RESOLUTION
Ensure that your release including APKs targeting SDK 23 or higher to which all users that have the APK with version code 6 can upgrade.