On 19 January 2011 13:03, Narendra Bagade <[email protected]> wrote: > Hi All , > I am using android tablet. > I am trying to install apk from code. > after signing in apk ,I am going to install apk through code. > But while doing this I am getting error like "java.util.zip.ZipException: > EOCD not found; not a Zip archive? EOCD not found; not a Zip archive? > " > > note : I am using external jar file "commons-net-2.0.jar" in my application > for ftp api
I'd check if APK you try to install is not invalid (as lack of EOCD indicates). If you fetch it via FTP ensure you use BINary transfer, not ASCII (which is default on some servers but also corrupts all non text files) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

