Q
Q
Quolib2018-01-27 22:04:01
Android
Quolib, 2018-01-27 22:04:01

Why, after recompiling the AndroidManifest.xml file, syntax eror pops up when running on the device?

I decompile the application without changing the android manifest, compile and get an error when parsing the package. Then I just tried to upload the android manifest from the recompiled one to the apk through the archiver (first decompile, then compile without any changes), again an error, for the purity of the experiment in the same apk with an error, I changed the new anroidmanifest to the old one, which was in the working application, through the archiver . Everything worked. If it matters, then the application icon is loaded with the old file, but not with the recompiled one. Conclusion: the problem is in androidmanifest. Why is the anroidmanifest decompiled and compiled incorrectly, how to fix it, because of what, maybe, you can somehow contrive to change something into the anroidmanifest without decompiling it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anael, 2018-12-05
@Anael

Hello! I have the same question. Please help us! I would add on my own that if you edit Android.manifest.xml, then it changes the encoding to utf-8 and after compiling such an apk cannot be installed: a syntax error in parsing the package. It does not allow you to change anything in the manifest file, any gesture breaks the encoding and the file is invalid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question