I want to parse AndroidManifest.xml in C++. Due to this file is a binary XML, I couldn’t parse it with typical XML parsers in C++ like pugixml. As I searched on the Internet, I found the AAPT2 tool for parsing AndroidManifest.xml, but I couldn’t build the AAPT2 repository in Visual Studio to take advantage of ..
I want to parse AndroidManifest.xml (without using apktool) in C or C++. To do so, I used pugixml library to parse the XML file, but it failed to parse. I tried different encoding for reading XML such as pugi::encoding_wchar , pugi::encoding_utf16, pugi::encoding_utf8 but none of them worked. I also tried with libxml, but it failed ..
Environment: android, C++, Qt 5.15.2, mostly Qt Widgets, a bit of QML and QZXing for QR support. I used to work with cmake but the AndroidManifest.xml support is still very weak, so I moved back to qmake. My application worked with cmake (but without the icon, and permissions set by hand). My qmake file is: ..