Skip to content

betacraft/aapt-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

First install aapt (on Debian or derivatives install using apt-get)

Install using go get

$ go get github.com/betacraft/aapt-parser

How to use

func main() {
   apk := Parse("to_be_parsed.apk")
   if apk == nil {
      // some error, install aapt or give correct path
      return
	}
  // Use all data in Apk(see below Apk struct)
}

Apk Struct

type Apk struct {
	Permissions         []string
	FeaturesNotRequired []string
	FeaturesRequired    []string
	LibsNotRequired     []string
	LibsRequired        []string // TODO
	AppLabel            string
	PackageName         string
	VersionCode         int
	VersionName         string
	TargetSdkVersion    string
	SdkVersion          string
	GlUse               string
	NativeCode          string
}

Releases

No releases published

Packages

No packages published

Languages