I know that the question of death was asked here, but I canβt find a solution in all the answers offered and drive me crazy.
I have an application that I configured to download updates from my own server. This update is perfectly installed on some types of phones, but does not work on others (namely, Droid Incredible 2).
The error that he warns when I try to install the update on some phones is:
"Analysis error: the problem is parsing the package."
The log code shows:
INFO/ActivityManager(1482): Starting activity: Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/download/application.apk typ=application/vnd.android.package-archive cmp=com.android.packageinstaller/.PackageInstallerActivity } from pid 4620 WARN/PackageParser(2528): Skipping dir: /mnt/sdcard/download/application.apk WARN/PackageInstaller(2528): Parse error when parsing manifest. Discontinuing installation
- I sign and export this application with a valid key using the Eclipse tool, with MinSDK version 3.
- I am sure that the version code in the downloaded application is higher than that of the existing application.
- I am sure that the .apk file name is the same in both applications.
What else can I do wrong?
edit: I downloaded this application in the Android Market ... when I try to install on problem phones, I get a warning that "the package file was not signed correctly." On other phones, it downloads and installs just fine.
source share