How can I parse a binary XML file (like AndroidManifest.xml) in c++?

  android, android-manifest, c++, xml, xml-parsing

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 it in parsing AndroidManifest.xml …

I need a piece of code that parses AndroidManifest.xml in C++.

This is a link to download a sample for AndroidManifest.xml

Any help appreciated.

Source: Windows Questions C++

LEAVE A COMMENT