Skip to content

HuMoran/aaptjs2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published