Actually, the mime-type did the trick. Thanks Mark.
On Oct 20, 4:35 pm, InC <[EMAIL PROTECTED]> wrote:
> No I didn't. However, would that be root cause, since it actually went
> through the permissions approval screen and started to install. I'm
> assuming if it hadn't read the manifest file, it would have failed
> even before that step.
>
> Anyway I'll configure the mime-type on the webserver and give it a
> shot.
>
> On Oct 20, 2:44 pm, Mark Hansen <[EMAIL PROTECTED]> wrote:
>
> > Did you set the mime types .apk files on your webserver?
>
> > application/vnd.android.package-archive
>
> > On Oct 20, 4:41 pm, InC <[EMAIL PROTECTED]> wrote:
>
> > > Here's the adb logcat output from the exception -
>
> > > I/ActivityManager( 53): Displayed activity
> > > com.android.packageinstaller/.InstallAppProgress: 157 ms
> > > D/asset ( 53): failed to open Zip archive '/data/app/
> > > vmdl17815.tmp'
> > > W/PackageParser( 53): Unable to read AndroidManifest.xml of /data/
> > > app/vmdl17815.tmp
> > > W/PackageParser( 53): java.io.FileNotFoundException:
> > > AndroidManifest.xml
> > > W/PackageParser( 53): at
> > > android.content.res.AssetManager.openXmlAssetNative(Native Method)
> > > W/PackageParser( 53): at
> > > android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:
> > > 471)
> > > W/PackageParser( 53): at
> > > android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:
> > > 439)
> > > W/PackageParser( 53): at
> > > android.content.pm.PackageParser.parsePackageName(PackageParser.java:
> > > 436)
> > > W/PackageParser( 53): at
> > > com.android.server.PackageManagerService.installPackageLI(PackageManagerService.java:
> > > 3102)
> > > W/PackageParser( 53): at
> > > com.android.server.PackageManagerService
> > > $4.run(PackageManagerService.java:3008)
> > > W/PackageParser( 53): at
> > > android.os.Handler.handleCallback(Handler.java:542)
> > > W/PackageParser( 53): at
> > > android.os.Handler.dispatchMessage(Handler.java:86)
> > > W/PackageParser( 53): at android.os.Looper.loop(Looper.java:
> > > 123)
> > > W/PackageParser( 53): at
> > > android.os.HandlerThread.run(HandlerThread.java:60)
> > > E/PackageManager( 53): Couldn't find a package name in : /data/app/
> > > vmdl17815.tmp
> > > I/installd( 36): unlink /data/dalvik-cache/
> > > [EMAIL PROTECTED]@[EMAIL PROTECTED]
> > > I/InstallAppProgress( 806): Sleeping for 5 seconds to display screen
>
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---