Is it possible to extract the original androidmanifest.xml (ascii)
from the apk with any of the tools? (aapt or ?)

Thanks


On Apr 7, 11:04 am, strazzere <[email protected]> wrote:
> I'd assume there is some sort of checksum value in the
> androidmanifest.xml -- since that method of resigning the application
> should work fine, though it isn't recommended.
>
> On Apr 6, 2:20 pm, sumd <[email protected]> wrote:
>
> > Hi,
>
> >  I'm using the simple test app - HelloActivity.
>
> >  I tried the following steps to unsign:
> > 1. renamed the HelloTest.apk to HelloTest.zip and unzipped the
> > contents to HelloTest.
> > 2. Deleted files CERT.RSA, CERT.SF under META-INF
> > 3. Deleted everything from the file MANIFEST.MF except the following
> > lines:
> >               Manifest-Version: 1.0
> >              Created-By: 1.0 (Android)
>
> > Then I opened AndroidManifest.xml with Hex editor and changed the
> > activity name from ".HelloTest" to "com.mytests.android.HelloTest"
>
> > Zipped everything back to HelloTest.apk and resigned with
> > jarsigner -verbose -keystore my.keystore FirstTest.apk alias_name
>
> > When I try to install this, I'm getting error:  Failure
> > [INSTALL_FAILED_INVALID_APK].
>
> > Do I need to remove any additional content from AndroidManifest.xml
> > after editing the file?
> > Or it's not allowed to change the manifest file inside the apk?
>
> > Thanks,
> > sumd
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to