Reputation: 221
I have completed my one application in android. Then from the ddms I pull the .apk file when i installed it on my android its shows the error "there is a problem parsing the package".
Upvotes: 0
Views: 4988
Reputation: 1
Here's what worked for me:
Copy from SD card to somewhere under /data.
cp /sdcard/*.apk /data
Set ownership and permissions.
chown system:system /data/*.apk
chmod 644 /data/*.apk
Upvotes: 0
Reputation: 133
Step 1- Go to device Settings(icon) menu
Step 2- Tap on Security
Step 3- Device administration
Step 4- Unknown sources – Check mark Unknown Sources
Upvotes: 1
Reputation: 6852
Just for a information those who will read this thread.
Please check the minSdk version in android application manifest file and android-platform number in property file are same.
I have the same problem that you had but not in emulator .when I
checked it I found that my application minisdk version is different with
platform number.
thanks
Upvotes: 2
Reputation: 1657
I would like to add to Kariyachan's answer. Unbeknownst to me, I was packaging my app for Android 4.1 (SDK version 16) when my phone was running 2.3.5 (SDK version 10 !!!).
To avoid the "problem parsing the package" error message:
I hope this helps someone
Upvotes: 0