APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size)

APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size), a VS Code extension by Zovo

An APK analyzer and APK viewer for VS Code. Click an .apk file and read what is inside it: the decoded AndroidManifest.xml, the permissions it asks for, which activities and services are exported, DEX method counts by package against the 65,536 limit, where the bytes go by folder and file type, the native ABIs, and the signing certificate. .aab, .apks and .xapk files open too.

Install in VS CodeOpen the Marketplace page

Free, MIT license. Needs VS Code 1.90.0 or newer. Extension ID zovo.zovo-apk-analyzer, version 0.1.0.

It is read-only and works offline: no network calls, no telemetry, no Android SDK, no Java.

Overview of an APK: package, versions, SDK levels, permissions, components and signing

Questions people ask

Is APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size) free?

Yes. APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size) is free and MIT licensed.

How do I install APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size)?

Click "Install in VS Code" above, or search for zovo.zovo-apk-analyzer in the Extensions view.

What you see

Method counts by package as a tree, with classes, defined methods and method references

Other package types

Large and damaged files

Only the central directory, the manifest, the DEX files and the signature files are read when a file opens. A 200 MB APK with large assets opens without reading the assets; an entry is unpacked only when you open it in the hex view. Every reader runs in a worker thread with a memory cap and a time limit, and every count is checked against the bytes that are really there, so a damaged or hostile file gives a message and whatever could be read. Unpacking stops at the size the archive header gives, so a zip bomb is stopped early.

Zovo Pro tools

Three tools for release work are part of Zovo Pro. Each one has 3 free tries on your computer, and a try is used only when the tool produced its result:

  1. Compare two APKs: size by file and folder (+/-), permissions, components and SDK levels added or removed, signing changes, and method references per package, with a Markdown report.
  2. Export the report: the whole analysis as JSON or Markdown, or the file size and method count tables as CSV.
  3. Find in DEX: find a class, method, field or string in every DEX file of the APK (plain text or /regex/).
Two builds of an app compared: permissions, components, folder sizes and method references

Nothing about Pro appears when you open a file. To hide the three buttons, turn off apkAnalyzer.showProTools.

Settings

SettingDefaultWhat it does
apkAnalyzer.showProToolstrueShow the Export, Compare and Find in DEX buttons
apkAnalyzer.showSupportLinkstrueShow the small links at the bottom of the viewer
apkAnalyzer.askForRatingtrueAsk once, after a few days of use, for a rating

Notes

License

MIT

Guides

Install APK Analyzer & APK Viewer (AndroidManifest, DEX Method Count, APK Size)

Click the button to open VS Code and install it, or press Ctrl+P (Cmd+P on macOS) in VS Code and run ext install zovo.zovo-apk-analyzer.

Free, MIT license. Needs VS Code 1.90.0 or newer. Extension ID zovo.zovo-apk-analyzer, version 0.1.0.

Source code and issues are on GitHub.

All our VS Code extensions

Zovo Pro and support

Zovo Pro: USD 19 once, every Zovo viewer. It turns on the Pro tools in this extension and in the other Zovo extensions you use. The free features stay free.

After a card payment your license key shows on the next page. Paste it with the command "Zovo Pro: Enter a key".

You can also support the work with no Pro:

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.