Key generation problem in Android Eclipse plugin

After installing a new MyEclipse and Android SDK on your Linux host you will probably run into the problem during key generation. This problem sounds like “Permission denied”.

By default MyEclipse projects use JVM which is installed at <MYECLIPSE_PATH>/Common/binary/ It’s quite possible that the keytool which creates key to sign your Android application, is not allowed to execute.

Just check if you have permission to execute keytool:
ls -l <MYECLIPSE_PATH>/Common/binary/

Probably you’ll have something like:
-rw-rw-r– 1 andrey andrey 47447 2009-03-09 04:53 /home/andrey/Genuitec/Common/binary/

Then just add execution permission:
chmod +x <MYECLIPSE_PATH>/Common/binary/

Looks good now:
-rwxrwxr-x 1 andrey andrey 47447 2009-03-09 04:53 /home/andrey/Genuitec/Common/binary/

And the key should generate successfully now