--- a/base/tools/aapt/Main.cpp +++ b/base/tools/aapt/Main.cpp @@ -270,6 +270,9 @@ /* default to compression */ bundle.setCompressionMethod(ZipEntry::kCompressDeflated); + // Convenience when using aapt in termux. + bundle.addPackageInclude("@TERMUX_PREFIX@/share/aapt/android.jar"); + if (argc < 2) { wantUsage = true; goto bail;