简体   繁体   English

jdk 路径在较旧的 android studio mac 上无效

[英]jdk path not valid on older android studio mac

I download android studio version 1.4 because I want to compile apk from old android studio project, then when ask for jdk location I put jdk location.我下载 android 工作室版本 1.4 因为我想从旧的 android 工作室项目编译 apk,然后当询问 jdk 位置时,我输入了 jdk 位置。 But android studio did not recognize it.但是android工作室没有认出来。

What is the correct path for jdk in android studio mac? android studio mac中jdk的正确路径是什么? image of error错误图片

I want to compile apk from old android studio project我想从旧的 android 工作室项目编译 apk

As far as I know, latest Android Studio can compile old projects just fine.据我所知,最新的 Android Studio 可以很好地编译旧项目。 Gradle and its plugins are what build the project, not the IDE. Gradle 及其插件是构建项目的,而不是 IDE。

Maybe since you're using an older version, though, Java 12 would not be recognized as valid, and you'd have to get Java 8, possibly但是,也许由于您使用的是旧版本,因此 Java 12 不会被识别为有效,您必须获得 Java 8,可能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM