2

I'm trying to install a signed apk to my emulator..The error I am getting is "file abc.apk does not contain AndroidManifest.xml "... I also, did zip the signed apk,to check AndroidManifest.xml....AndroidManifest.xml was available after unzipping the signed apk Please help me with this...Unable to install signed apk on my emulator,so I guess I wont be able to upload it to Google Market :(

m0rpheu5
  • 600
  • 4
  • 16

1 Answers1

0

I had this issue and I think I had two problems:

  1. I was modifying the APK by renaming it to a .zip extension, extracting and then re-compressing, but on a Mac the folder structure doesn't persist correctly. Instead I used https://ibotpeaches.github.io/Apktool/ to decode and then rebuild the APK.
  2. You have to remember to re-sign your APK after modifying: https://stackoverflow.com/a/24833908/62.
Community
  • 1
  • 1
Liron Yahdav
  • 10,152
  • 8
  • 68
  • 104