【Android开发小技巧】快速查找 Android Studio 对应的 IntelliJ IDEA 版本

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

Build 版本号含义

根据 IntelliJ Platform SDK DevGuideBuild 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
  • 5
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

fundroid

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值