View Full Version : Sencha Touch 2 no generate .apk in release mode

7 Nov 2012, 7:05 AM

I have an application built with Sencha Touch 2.

When packed in Debug mode, I have no problem, but when packed in Release mode I have the next

Could not sign application with error: 1
Failed to package application
[ERROR] "jarsigner" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

7 Nov 2012, 10:30 AM
Go to advance system settings->Environment Variables
Here you need to set "Path" vaiable in the user variable section, and set its value to your "jdkpath/tools".

that's it you will get rid of this error.

P.S. after that if your .apk file is generated successfully in release mode, lemme know that trick coz i am stucked at zipalign. my sencha utility fails to do so.