Zipalign error: the system cannot find the specified file

I am typing:

C: \ Program Files (x86) \ Android \ android-sdk \ tools> zipalign [-f] [-v] B10816062011-unaligned.apk B10816062011-aligned.apk

it returns:

The system cannot find the specified file.

This drives me crazy because I know that the source file is where I try to direct it!

Does anyone know or are having this problem?

+7
source share
2 answers

Please avoid [] (square brackets) and <>

For example:

D:\android-sdk\android-sdk\tools>zipalign -f -v 4 "C:\Users\name\Desktop\project_name\projectname_signed.apk" "C:\Users\name\Desktop\project_name\projectname__zipaligned.apk" 

He will work

+12
source

Also, do not forget to look into the firewall on your computer. It can be configured to block the zipalign process.

0
source

All Articles