I have some devices attached to my PC. Now I want to install Astro to a specific emulator. Unfortunately, I get this error.

hieund@hieund:~/Downloads$ adb install "Astro File Manager 2.5.1.apk" -s emulator-5554
too many files specified; only takes APK file and verifier file

the -s should be before the 'install'

| improve this answer | |

Seems like an whitespace problem in the filename. Either remove or escape them.

| improve this answer | |
  • Have just tried it. Sorry it doesn't work. – emeraldhieu Apr 27 '12 at 6:09
  • Yes, correct. If the path contains white spaces, then you will get this issue. – user58125 Apr 9 '14 at 5:37

It generates this error when there is only an emulator attached.

EOCD not found, not Zip
file 'AstroFileManager2.5.1.apk' is not a valid zip file

I realized that the AstroFileManager apk has problem. I downloaded a new one from xda and it works. Done.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.