【发布时间】:2016-07-26 15:34:10
【问题描述】:
我正在尝试编译包含在 Android NDK 中的示例“Hello JNI”程序,该程序用于测试基本的 Android NDK 功能。但是,每当我尝试使用 Android Studio 执行 Gradle 同步时,都会出现以下错误:
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
需要说明的是,我使用的是 32 位的 Windows 7。我认为可能存在版本不匹配,所以我重新安装了 32 位版本的 JDK 和 JRE,并确保我运行的是 32 位版本的 Android Studio,但我一直收到同样的错误。
感谢你们能给我的任何帮助。
注意:这已被确定为重复问题。虽然这是真的,但我已经尝试了另一个问题的答案,但它并没有解决我的问题。如果有人知道其他解决方案,我将不胜感激。
【问题讨论】:
标签: java android c++ gradle android-ndk