Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

zipalign error : The system cannot find the file specified

I type in:

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

it returns:

The system cannot find the file specified.

Its driving me crazy as I know that the source file is where I am trying to direct it!

anyone know or experienced this problem?

like image 756
jimbob Avatar asked Jun 17 '11 10:06

jimbob


People also ask

Where is Zipalign located?

The zipalign file is located in build-tools in the path where Android SDK is installed.


2 Answers

Also do not forget to look into the firewall on your computer. it may have been set to block the zipalign process.

like image 28
Vianney Avatar answered Sep 30 '22 14:09

Vianney


Please avoid the [](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"

It will work

like image 65
Muhamed Riyas M Avatar answered Sep 30 '22 12:09

Muhamed Riyas M