Coder Social home page Coder Social logo

knightfall-cs / xapk-config Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 16 KB

XAPK Configurator: Easily generate XAPK manifest JSON files using Python and with instructions on how to create XAPK.

License: MIT License

Python 100.00%
manifest-json obb xapk xapk-config xapk-json-maker configuration json how-to create-xapk manifest

xapk-config's Introduction

XAPK Config

Generate XAPK manifest JSON files with Python. This script simplifies the process of creating XAPK packages by configuring expansion OBB files and split APKs. Find a guide below for instructions on how to create XAPK packages using this script.

Features

  • Support for multiple expansion OBB files.
  • Flexible split APK configuration with optional APK IDs.
  • Automatic OBB file naming based on package name and version code.

Usage

  1. Run the script using a Python interpreter.
  2. Follow the prompts to enter XAPK details, OBB files, and APK configurations.
  3. The script generates a manifest.json file with the configured XAPK settings.

How to Create an XAPK Package using xapk-config

Welcome to the guide on creating an XAPK (eXpansion APK) package for your Android app using the xapk_config script.

Prerequisites

  • Python: Ensure you have Python installed on your system.

  • Clone Repository: Clone the xapk-config repository to your local machine:

    git clone https://github.com/knightfall-cs/xapk-config.git
    cd xapk-config

Steps

  1. Run the Script to Create the manifest.json File:

    Open a terminal/command prompt and navigate to the xapk-config directory:

    cd path/to/xapk-config

    Run the script:

    python xapk_config.py
  2. Prepare Your Files:

    Organize your app files as follows:

    • Android/obb/{PackageName}/main.{VersionCode}.{PackageName}.obb
    • icon.png
    • manifest.json
    • {AppName}.apk

    Replace {PackageName}, {VersionCode}, and {AppName} with your actual values.

    ๐Ÿ“‚ Example.xapk(zip)
     โ”œโ”€โ”€ Android/
     โ”‚    โ”œโ”€โ”€ obb/
     โ”‚    โ”‚    โ”œโ”€โ”€ com.android.example/
     โ”‚    โ”‚    โ”‚    โ”œโ”€โ”€ main.1.com.android.example.obb
     โ”‚    โ”‚    โ”‚    โ”œโ”€โ”€ patch.1.com.android.example.obb
     โ”œโ”€โ”€ icon.png
     โ”œโ”€โ”€ manifest.json
     โ”œโ”€โ”€ example.apk
    
  3. Create the XAPK:

    • Package all the files (including the generated manifest.json) into a ZIP file.
    • Rename the ZIP file's extension from .zip to .xapk.

Done.


Author: KNIGHTFALL

xapk-config's People

Contributors

knightfall-cs avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.