jimbob
jimbob

Reputation: 3298

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?

Upvotes: 7

Views: 5889

Answers (2)

Vianney
Vianney

Reputation: 11

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

Upvotes: 1

Muhamed Riyas M
Muhamed Riyas M

Reputation: 5173

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

Upvotes: 12

Related Questions