且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何降级我的SDK版本?

更新时间:2023-02-22 19:22:46

不管怎样,对于那些谁想要降级的Andr​​oid SDK工具到previous版本,它可以是可以执行以下步骤:

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

  1. 找到你的Andr​​oid SDK文件夹
  2. 找到工具子文件夹,重命名为工具1(只是为了保持原来的工具文件夹的备份副本)
  3. 同样,重命名平台工具,平台工具1
  4. 下载从谷歌存储库要降级到(比如SDK工具版本:http://dl-ssl.google.com/android/repository/tools_r22.6.2-macosx.zip)并将其解压。
  5. 您下载的zip文件中包含有被转移到你的Andr​​oid SDK文件夹中的工具文件夹。
  6. 同样,下载的平台工具(例如:http://dl-ssl.google.com/android/repository/platform-tools_r19.0.1-macosx.zip),并提取它在您的SDK文件夹。
  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.

就是这样。