"There is a problem parsing the package" installin

Put your problem here if it does not fit any of the other categories.

"There is a problem parsing the package" installin

Postby bigian79 » Thu Dec 24, 2009 3:52 pm

I have developed a test app in Eclipse. It runs perfectly when I push it to the emulator directly from Eclipse. However, when I package it with Eclipse and attempt to install it as an .APK, the installer gives me an error. It looks like it can't open the apk for some reason. My real Droid is doing the same thing when I download the file from a web site. I've searched through every forum I can find and can't find this exact problem.

"There is a problem parsing the package"

The logcat has the following:

12-24 09:21:30.400: WARN/zipro(1253): Missed a central dir sig (at 0)
12-24 09:21:30.400: DEBUG/asset(1253): failed to open Zip archive '/sdcard/download/WhereDoYouLive4.apk'
12-24 09:21:30.460: WARN/PackageParser(1253): Unable to read AndroidManifest.xml of /sdcard/download/WhereDoYouLive4.apk
12-24 09:21:30.460: WARN/PackageParser(1253): java.io.FileNotFoundException: AndroidManifest.xml
12-24 09:21:30.460: WARN/PackageParser(1253): at android.content.res.AssetManager.openXmlAssetNative(Native Method)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:471)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:439)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.content.pm.PackageParser.parsePackage(PackageParser.java:338)
12-24 09:21:30.460: WARN/PackageParser(1253): at com.android.packageinstaller.PackageUtil.getPackageInfo(PackageUtil.java:79)
12-24 09:21:30.460: WARN/PackageParser(1253): at com.android.packageinstaller.PackageInstallerActivity.onCreate(PackageInstallerActivity.java:344)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.os.Handler.dispatchMessage(Handler.java:99)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.os.Looper.loop(Looper.java:123)
12-24 09:21:30.460: WARN/PackageParser(1253): at android.app.ActivityThread.main(ActivityThread.java:4203)
12-24 09:21:30.460: WARN/PackageParser(1253): at java.lang.reflect.Method.invokeNative(Native Method)
12-24 09:21:30.460: WARN/PackageParser(1253): at java.lang.reflect.Method.invoke(Method.java:521)
12-24 09:21:30.460: WARN/PackageParser(1253): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
12-24 09:21:30.460: WARN/PackageParser(1253): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
12-24 09:21:30.460: WARN/PackageParser(1253): at dalvik.system.NativeStart.main(Native Method)
12-24 09:21:30.471: WARN/PackageInstaller(1253): Parse error when parsing manifest. Discontinuing installation
Ian
bigian79
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Dec 24, 2009 3:45 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google Feedfetcher, Yahoo [Bot] and 15 guests