How to Downgrade My Sdk Version

How to downgrade my SDK Version?

Anyway, for those who want to downgrade Android SDK Tools to a previous version, it can be possible following these steps:

  1. Find your Android SDK folder
  2. Locate the "tools" subfolder and rename it to "tools1" (just to keep a backup copy of the original tools folder)
  3. Likewise, rename platform-tools to platform-tools1
  4. Download from google repository the SDK Tool version you want to downgrade to (for instance: http://dl-ssl.google.com/android/repository/tools_r22.6.2-macosx.zip) and unpack it.
  5. The ZIP file you downloaded contains a tools folder that has to be moved to your Android SDK folder.
  6. Likewise, download the platform tools (for instance: http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip), and extract it in your SDK folder.

That's it.

How to downgrade Flutter SDK (Dart 1.x)

Flutter is versioned using git. Changing the Flutter version is as simple as changing git branch.

There are 2 different ways:

  • flutter channel <branch> (example: flutter channel stable)

This command is used to change between branches – usually stable/dev/beta/master.
We can also put a specific commit id from git.

  • flutter downgrade <version> (example: flutter downgrade v1.2.1)

This command will use a specific version number.
You can have the list of the available version numbers using flutter downgrade or here

After this, run any Flutter command (such as flutter doctor), and Flutter will take care of downloading/compiling everything required to run this version.

I want to downgrade my application target sdk version 29 to 28 can google play console allowed this?

Yes, you can upload a new version that downgrades your targetSdkVersion - the Google Play target API level requirement only requires targeting API 28 or higher.

Note that it is expected that target API level requirement will increase each year, so you'll have to fix your app to work when targeting API 29 before ~late 2020.

How can i downgrade my compile version?

How can i downgrade my compile version?

There is no particular need to downgrade your compileSdkVersion. If anything, you might increase it to 27.

I want to work with API 23 to get more device compatibility

You are already set up to work back to API Level 21 (minSdkVersion 21). compileSdkVersion has nothing to do with backwards compatibility.

What I have to modify to downgrande my compile and running API version?

In your case, you do nothing, as you are already set to support API Level 21+ devices.

With respect to compileSdkVersion and com.android.support libraries:

  • All standard com.android.support libraries that you are using need to have the same version (e.g., 27.0.2)

  • The compileSdkVersion and targetSdkVersion should be set to the same value, which is the major version of the library (e.g., 27)



Related Topics



Leave a reply



Submit