Skip to content

Change Android AAB/APK attributes like versionCode, versionName and package name.

Notifications You must be signed in to change notification settings

tosbaha/androidmanifest-changer

 
 

Repository files navigation

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)

About

Change Android AAB/APK attributes like versionCode, versionName and package name.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 64.7%
  • Shell 32.1%
  • Dockerfile 3.2%