2016-07-26 58 views
0

我想编译包含在Android NDK中用于测试基本Android NDK功能的示例'Hello JNI'程序。然而,每当我试图使用Android Studio来进行同步摇篮,我得到了以下错误:启动示例Android NDK'Hello JNI'应用程序时发生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 

需要明确的是,我使用的是Windows 7 32位。我认为可能存在版本不匹配的问题,因此我重新安装了JDK和JRE的32位版本,并确保我运行的是32位版本的Android Studio,但我一直得到相同的错误。

谢谢你们可以给我的任何帮助。

注意:这已被确定为重复问题。虽然这是真的,但我已经尝试了在另一个问题上给出的答案,但它没有解决我的问题。如果有人知道其他解决方案,我将不胜感激。

+1

[Android Studio错误:错误:CreateProcess错误= 216,此版本的%1与您正在运行的Windows版本不兼容]可能的重复(http://stackoverflow.com/questions/37624369/android -Studio-误差errorcreateprocess误差-216-这个版本-的-1-是-不-c)的 –

回答

0

我解决了这个问题,只需切换到64位操作系统,我不会再出错。