Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Manifest in AAB #116

Open
timscriptov opened this issue Jun 21, 2024 · 4 comments
Open

Edit Manifest in AAB #116

timscriptov opened this issue Jun 21, 2024 · 4 comments

Comments

@timscriptov
Copy link
Contributor

Hi, how edit Manifest?

  1. Patched manifest in AAB
  2. AAB to APK

AndroidManifest.xml broken

image

@maoabc
Copy link
Owner

maoabc commented Jun 21, 2024

The AndroidManifest.xml in .aab is a proto file, not an axml file. It is defined using .proto file. You can see the editAndroidManifest method in ProtoUtils.

@timscriptov
Copy link
Contributor Author

I'll use your example

@maoabc
Copy link
Owner

maoabc commented Jun 21, 2024

Try using setAttribute(attrIdx, newAttr),maybe the attribute index cannot be changed。

@timscriptov
Copy link
Contributor Author

image

Very strange. Patched successfully, but new unknown data was added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants