根据gradle查看jdk版本
两者对应关系
Android Gradle Plugin版本 | Gradle版本 | SDK Build Tools | JDK版本 | 备注 |
---|---|---|---|---|
8.2 | 8.1 | 17 | ||
8.1 | 8.0 | 17 | ||
8.0 | 8.0 | 30.0.3 | 17 | |
7.4 | 7.5 | 30.0.3 | 11 | |
7.3 | 7.4 | 30.0.3 | 11 | |
7.2 | 7.3.3 | 30.0.3 | 11 | |
7.1 | 7.2 | 30.0.3 | 11 | |
7.0 | 7.0 | 30.0.2 | 11 | |
4.2.0+ | 6.7.1 | 30.0.2 | 8+ | |
4.1.0+ | 6.5+ | 29.0.2 | 8+ | |
4.0.0+ | 6.1.1+ | 29.0.2 | 8+ | |
3.6.0 - 3.6.4 | 5.6.4+ | 28.0.3 | 8+ | |
3.5.0 - 3.5.4 | 5.4.1+ | 28.0.3 | 8+ | |
3.4.0 - 3.4.3 | 5.1.1+ | 28.0.3 | 8+ | |
3.3.0 - 3.3.3 | 4.10.1+ | 28.0.3 | 8+ | |
3.2.0 - 3.2.1 | 4.6+ | 28.0.3 | 8+ | |
3.1.0+ | 4.4+ | 27.0.3 | 8+ | |
3.0.0+ | 4.1+ | 26.0.2 | 8+ | |
2.3.0+ | 3.3+ | 25.0.0 | 8+ | |
2.1.3 - 2.2.3 | 2.14.1 - 3.5 | 23.0.2 | 7+ | |
2.0.0 - 2.1.2 | 2.10 - 2.13 | 21.1.1 | 7+ | |
1.5.0 | 2.2.1 - 2.13 | 21.1.1 | 7+ | |
1.2.0 - 1.3.1 | 2.2.1 - 2.9 | 21.1.1 | 7+ | |
1.0.0 - 1.1.3 | 2.2.1 - 2.3 | 21.1.1 | 7+ |
标签:11,8.0,21.1,jdk,30.0,gradle,28.0,2.2,对应 From: https://www.cnblogs.com/xiaohuizhenyoucai/p/17806864.html