user2038833
user2038833

Reputation: 87

error zipaligning apk file

So I have my project FILES. And I want to zipalign an apk file. I cant do it in Eclipse, or Android studio this comes up:

Android Source Generator: [Tiber] Package is not specified in AndroidManifest.xml

Anyone know how I can fix this or know an alternative way?

Upvotes: 0

Views: 84

Answers (2)

user1834437
user1834437

Reputation:

I think you should declare the android version which you are using in your manifest.xml file.

For example:

android:targetSdkVersion="18"

Upvotes: 1

user3260985
user3260985

Reputation: 28

If you have the zipalign tool with your Eclipse installaton. You can zipalign your apk manually by running the following command:

zipalign -v notaligned.apk zipaligned.apk

Upvotes: 1

Related Questions