我正在学习 Android Studio 和 youtube 上的教程,例如:
https://www.youtube.com/watch?v=QAbQgLGKd3Y&list=PL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl
说我需要 Java JDK。
然而,当我在网站上浏览教程时:
https://developer.android.com/training/basics/firstapp/creating-project.html
我能够设置并运行 myfirstapp 项目。
新的 AS 是否包含 SDK,或者我是否需要它来完成更复杂的项目。
我想我可以一直浏览视频教程,直到遇到问题,但我想知道在我必须卸载 Android Studio、安装 JDK 并重新安装 Android Studio 之前。
看起来真的很痛苦。
最佳答案
这是 Google 在 https://developer.android.com/studio/intro/studio-config.html 上所说的:
A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects.
因此,如果您使用的是最新版本,您将不需要任何额外的 JDK。此外,与 June 2016 相比,官方安装说明不再包含任何有关 JDK 的提示。 .
关于java - 使用 Android Studio 是否需要 Java JDK?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42172010/