Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to revert Android SDK Tools to an earlier revision?

Is it possible to revert Android SDK Tools to an earlier revision (for example from r17 to r16 or r15)?

like image 564
Mehmed Mert Avatar asked Apr 05 '12 13:04

Mehmed Mert


People also ask

How do I revert to an older version of Android Studio?

Currently there is no direct way with which a downgrade can be done. I managed to do the downgrade by downloading Android Studio 3.0. 1 from here and then running the installer. It will prompt whether to uninstall previous version, and when you allow and proceed, it will remove 3.1 and install 3.0.

How do I undo an Android project?

Switch view to Android in the left part of the Android Studio, right-click the app node, Local History , Show History . Then find the revision you want back, right click it and choose Revert . Your whole project will be reverted to this state.


2 Answers

Download the older tools, and delete the new ones and unpack the old ones and your done. Is nothing more to it than that. The tools can be downloaded from the "android" program in the tools directory of you current sdk.

android-sdk-linux-17/tools$ ./android
like image 83
Carl-Emil Kjellstrand Avatar answered Oct 30 '22 06:10

Carl-Emil Kjellstrand


@erbsman this is not possible to download old version of sdk tool from Android too. because it uses an xml file(check logs on ANDROID TOOL) to get location of all zip files. so you have to do some kind of hack for that. check out following link for hack

Download the Android SDK components for offline install

like image 31
Ankit Avatar answered Oct 30 '22 06:10

Ankit