这是一个星期左右,我安装了Eclipse和SDK和... 但即使当我打开一个新的Hello World项目,我想运行日食显示了这个错误:
It's about a week that i installed eclipse and SDK and ... but even when i open a new Hello World project and i want to run that eclipse shows this error:
Error generating final archive: Failed to create key: Cannot run program "C:\Program Files\Java\jre7\bin\keytool.exe": CreateProcess error=2, The system cannot find the file specified
JAVA_HOME is set to: C:\Program Files\Java\jre7
Update it if necessary, or manually execute the following command:
"C:\Program Files\Java\jre7\bin\keytool.exe" -genkey -alias AndroidDebugKey -keyalg RSA -dname "CN=Android Debug,O=Android,C=US" -validity 10950 -keypass android -keystore C:\Users\BEHZAD\.android\debug.keystore -storepass android
我也有黑白的一些问题为Android。
I also have some problems in Mono for Android.
有人可以帮我吗?
安装的 JDK ,然后将 JAVA_HOME 在环境变量的路径,你的 JDK 安装。目前,它指向的 JRE
Install JDK and set JAVA_HOME in environments variables to path that you JDK was installed. Currently it points to JRE.
下载 JDK 从这里。