Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 712 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 712 Bytes

androidmanifest-changer

This is a tool for manipulating the AndroidManifest.xml within Android apps. Both, AAB (Bundles) and APK files are support.

Supported attributes

  • versionCode
  • versionName
  • package

Usage

# Change only versionCode
androidmanifest-changer --versionCode 4 app.aab

# Change multiple values
androidmanifest-changer \
  --versionCode 4 \
  --versionName 1.0.2 \
  --package com.some.app \
  app.aab

This will rewrite the given aab/apk with the new values.

Requirements

These tools must be installed and reachable on your PATH:

  • zip (Go's built-in zip library produces invalid aab/apk files; TODO: find a workaround)
  • aapt2 (only if you want to manipulate APKs)