aaptjs2
v1.0.4
Published
Android Asset Packaging Tool(aapt) for Node.js
Downloads
304
Readme
aaptjs2
Android Asset Packaging Tool(aapt) for Node.js
Install
With npm do:
npm install aaptjs2 --save
Example
const aapt = require('aaptjs2');
aapt.list('/path/to/your/ExampleApp.apk')
.then (data => {
console.log(data)
})
.catch (err) {
// something went wrong
}
API
- 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)