Android Asset Packaging Tool(aapt) for Node.js
With npm do:
npm install aaptjs2 --save
const aapt = require('aaptjs2');
aapt.list('/path/to/your/ExampleApp.apk')
.then (data => {
console.log(data)
})
.catch (err) {
// something went wrong
}
- aapt(args)
- listlist(apkFilePath)
- dump(apkFilePath, values)
- packageCmd(apkFilePath, command)
- remove(apkFilePath, files)
- add(apkFilePath, files)
- crunch(resource, outputFolder)
- singleCrunch(inputFile, outputFile)
- version()
- getApkInfo(apkFilePath)
- getApkAndIcon(apkFilePath, outIconName, outIconPath)