【问题标题】:Can't change the JDK Location , whenever i change the location of JDK it use embedded JDK无法更改 JDK 位置,每当我更改 JDK 的位置时,它都会使用嵌入式 JDK
【发布时间】:2018-10-11 21:36:54
【问题描述】:

您好,我刚刚安装了 android studio 3.0,现在面临 2 个问题,即我无法更改 JDK 位置,每当我更改 JDK 的位置时,它都会使用嵌入式 JDK

Error:CreateProcess error=216, This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher

他们告诉我这个错误是因为 JDK 的位置

提前致谢 图片: Picture

也正如我之前所说,设计和布局不起作用图片:enter image description here

【问题讨论】:

  • 您能否将错误复制/粘贴到帖子中以便于搜索/阅读?
  • @mac9416 完成。 . ..

标签: java android-studio build.gradle


【解决方案1】:

意思是您下载了其中一个工具的 32 位或 64 位版本,但您的操作系统正好相反。

因此,如果您运行的是 64 位 Windows。 那么您需要确保您拥有 64 位 JRE 和 JDK 以及 64 位 Android Studio。

这将解决您的问题。

【讨论】:

  • 我正在使用android studio 32,jdk 32,win32
  • 你的操作系统肯定是 32 位的吗?你在 Android Studio 中的 JDK 指针是否指向 32 位版本
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-10-30
  • 1970-01-01
  • 2016-05-08
  • 2017-08-15
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多