Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - adb install not working for downloaded files

adb install not working for downloaded files

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

adb install not working for downloaded files

Postby sawatdee » Tue Aug 10, 2010 1:44 pm

When I build an apk on my own system, I can use adb install <filename> to install it and run it in the emulator. But when I download an apk, I get the following error:
EOCD not found, not Zip
file '<filename>' is not a valid zip file

Is this normal, or do I probably have something set up wrong? I would like to run some apps through the emulator because I don't own a device.
sawatdee
Freshman
Freshman
 
Posts: 2
Joined: Tue Aug 10, 2010 1:35 pm

Top

Re: adb install not working for downloaded files

Postby blundell » Tue Aug 10, 2010 2:07 pm

Check the apk of the file you downloaded, can you open it in a program like winzip without it saying "it's corrupt" as I believe that may be your problem
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: adb install not working for downloaded files

Postby sawatdee » Tue Aug 10, 2010 2:18 pm

You're right. I downloaded a different one and it installed just fine. What could be the problem with the apk that didn't work? Did the developer do something wrong? I have heard of lots of people having this problem, so it is somewhat common.
sawatdee
Freshman
Freshman
 
Posts: 2
Joined: Tue Aug 10, 2010 1:35 pm

Re: adb install not working for downloaded files

Postby blundell » Tue Aug 10, 2010 2:32 pm

It'll just be a corrupt download either between you and the server or the server and the uploader. Happens alot.
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 3 guests