[android-beginners] Re: Cannot compile Android app: Failed to create debug key

2008-11-06 Thread Xavier Ducrohet

It looks like for some reason JAVA_HOME is set to the bin folder of
the JDK instead of the top folder.

Change your JAVA_HOME to c:\Program Files\Java\jdk1.6.0_01 and it will work.

This issue will be fixed in the next version of SDK/plugins.

Xav

On Mon, Nov 3, 2008 at 11:24 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 I am firstimer using Android. When i developed a simple application
 and compiled, i faced this error message:

 [2008-11-04 15:10:51 - HelloAndroid] Failed to create debug key:
 Cannot run program c:\Program Files\Java\jdk1.6.0_01\bin\bin
 \keytool.exe: CreateProcess error=3, The system cannot find the path
 specified

 [2008-11-04 15:10:51 - HelloAndroid] JAVA_HOME is set to: c:\Program
 Files\Java\jdk1.6.0_01\bin

 [2008-11-04 15:10:51 - HelloAndroid] Update it if necessary, or
 manually execute the following command:

 [2008-11-04 15:10:51 - HelloAndroid] c:\Program Files\Java
 \jdk1.6.0_01\bin\bin\keytool.exe -genkey -alias AndroidDebugKey -
 keyalg RSA -dname CN=Android Debug, O=Android, C=US -validity 365 -
 keypass android -keystore C:\Users\Quantum Inventions\AppData\Local
 \Android\debug.keystore -storepass android




 Please help me on this. Its quite urgent. Thanks a lot!!!

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Cannot compile Android app: Failed to create debug key

2008-11-04 Thread tagore

How about the PATH? you should add the java bin to the PATH.

On Nov 4, 3:24 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I am firstimer using Android. When i developed a simple application
 and compiled, i faced this error message:

 [2008-11-04 15:10:51 - HelloAndroid] Failed to create debug key:
 Cannot run program c:\Program Files\Java\jdk1.6.0_01\bin\bin
 \keytool.exe: CreateProcess error=3, The system cannot find the path
 specified

 [2008-11-04 15:10:51 - HelloAndroid] JAVA_HOME is set to: c:\Program
 Files\Java\jdk1.6.0_01\bin

 [2008-11-04 15:10:51 - HelloAndroid] Update it if necessary, or
 manually execute the following command:

 [2008-11-04 15:10:51 - HelloAndroid] c:\Program Files\Java
 \jdk1.6.0_01\bin\bin\keytool.exe -genkey -alias AndroidDebugKey -
 keyalg RSA -dname CN=Android Debug, O=Android, C=US -validity 365 -
 keypass android -keystore C:\Users\Quantum Inventions\AppData\Local
 \Android\debug.keystore -storepass android

 Please help me on this. Its quite urgent. Thanks a lot!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---