当前位置:首页 » 《随便一记》 » 正文

【Android开发小技巧】快速查找 Android Studio 对应的 IntelliJ IDEA 版本_移动端开发干货分享

5 人参与  2022年03月13日 15:24  分类 : 《随便一记》  评论

点击全文阅读


不少开发者电脑里同时安装有 Android Studio 和 InteliJ IDEA, Studio 开发 Android 应用,IDEA 调试一些纯 Kotlin/Java 工程。这两者都是源自 IntelliJ Platform 的 IDE,所以两者在版本上存在对照关系。

Build 版本号含义

根据 IntelliJ Platform SDK DevGuide 的 Build Number Ranges 的要求,基于 IntelliJ Platform 开发的产品,其 build 版本需遵循以下格式:

版本号构成说明
Product ID2位字母用来区分终端产品。例如代表 IDEA Community 的 IC、代表 Android Studio 的是 AI
Branch numberIntelliJ Platform 的分支号: 例如 202
Build number分支的 biuild 版本:例如 7660
Fix number例如 26

除了 ProductID 以外的三组数字就是其给予的 IntelliJ Platform 版本,
Android Studio 4.2.2 为例,其 IntelliJ Platform 版本就是 202.7660.26

YYYY.R

有了 IntelliJ Platform 版本,我们就可以反查对应的 IDEA 版本了。这里推荐一个查询技巧,在 JetBrains Confluence 中搜索 Platform 版本号:

可以看到 202.7660.26 对应的 IDEA 版本是 2020.2.3

此外,直接从 Platform 的版本号也能判断其对应的 IDEA 版本。 branch number 其实就是 IDEA 版本的 YYYY.R 中后两位 YY + R。, 所以 202.7660.26 对应的 IDEA 应该是 2020.2.X,因为 X 不知道是多少,所以这种方法判断不能很精确。

YYYY.R 中的 R 代表 release number, 这是 Jetbrains 旗下 IDE 的统一版本号格式: JetBrains Toolbox—Release and Versioning Changes。但是唯独 Android Studio 采用 4.2.2 这种格式,无法很好地反映其基于的 IntelliJ Platform 版本。 正因为如此,Android 官方宣布,Android Studio 从 4.3 Canary 1 以后,采用新的新的版本命名 Arctic Fox (2020.3.1) ,其中将 YYYY.R 包含了进来。

从此,我们可更快速地找到其对应的 IntelliJ Platform 版本。

需要注意的是, Arctic Fox 2020.3.1 对应的 IDEA 版本并不一定是 2020.3.1, 只能确定是 2020.3.X

最后附一个 Android Studio 到 IntelliJ IDEA 的版本对照表

Android StudioAS build verIntelliJ PlatformIntelliJ IDEA
Bumblebee (2021.1.1) Canary 12AI-211.7628.21.2111.7699744211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 11AI-211.7628.21.2111.7676841211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 10AI-211.7628.21.2111.7667256211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 9AI-211.7628.21.2111.7653804211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 8AI-211.7628.21.2111.7619903211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 7AI-211.7628.21.2111.7615328211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 6AI-211.7628.21.2111.7584175211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 5AI-211.7628.21.2111.7579519211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 4AI-211.7628.21.2111.7545178211.7628.212021.1.3
Bumblebee (2021.1.1) Canary 3AI-211.7442.40.2111.7518594211.7442.402021.1.2
Bumblebee (2021.1.1) Canary 2AI-211.6222.4.2111.7407564211.6222.42021.1
Bumblebee (2021.1.1) Canary 1AI-203.7717.56.2111.7361063203.7717.562020.3.3
Arctic Fox (2020.3.1) Patch 2AI-203.7717.56.2031.7678000203.7717.562020.3.3
Arctic Fox (2020.3.1) Patch 1AI-203.7717.56.2031.7621141203.7717.562020.3.3
Arctic Fox (2020.3.1)AI-203.7717.56.2031.7583922203.7717.562020.3.3
Arctic Fox (2020.3.1) RC 1AI-203.7717.56.2031.7557721203.7717.562020.3.3
Arctic Fox (2020.3.1) Beta 5AI-203.7717.56.2031.7479365203.7717.562020.3.3
Arctic Fox (2020.3.1) Beta 4AI-203.7717.56.2031.7435690203.7717.562020.3.3
Arctic Fox (2020.3.1) Beta 3AI-203.7717.56.2031.7395685203.7717.562020.3.3
Arctic Fox (2020.3.1) Beta 2AI-203.7717.56.2031.7375522203.7717.562020.3.3
Arctic Fox (2020.3.1) Beta 1AI-203.7717.56.2031.7360992203.7717.562020.3.3
Arctic Fox (2020.3.1) Canary 15AI-203.7717.56.2031.7321754203.7717.562020.3.3
Arctic Fox (2020.3.1) Canary 14AI-203.7717.56.2031.7260174203.7717.562020.3.3
Arctic Fox (2020.3.1) Canary 13AI-203.7148.57.2031.7242491203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 12AI-203.7148.57.2031.7226969203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 11AI-203.7148.57.2031.7209405203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 10AI-203.7148.57.2031.7194378203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 9AI-203.7148.57.2031.7185775203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 8AI-203.7148.57.2031.7165533203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 7AI-203.7148.57.2031.7136282203.7148.572020.3.2
Arctic Fox (2020.3.1) Canary 6AI-203.6682.168.2031.7132434203.6682.1682020.3.1
Arctic Fox (2020.3.1) Canary 5AI-203.6682.168.2031.7101492203.6682.1682020.3.1
Arctic Fox (2020.3.1) Canary 4AI-202.7319.50.2031.7049475202.7319.502020.2.2
Arctic Fox (2020.3.1) Canary 3AI-202.7319.50.2031.7019041202.7319.502020.2.2
Arctic Fox (2020.3.1) Canary 2AI-202.7319.50.2031.7006259202.7319.502020.2.2
Arctic Fox (2020.3.1) Canary 1AI-202.7319.50.2031.6983675202.7319.502020.2.2

点击全文阅读


本文链接:http://zhangshiyu.com/post/36149.html

版本  版本号  的是  
<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

关于我们 | 我要投稿 | 免责申明

Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1