Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
B

build_aab_tool

> 编程语言
Open source

apk转aab工具。

198 stars0 likes1 views
WebsiteGitHub

About

apk转aab工具。

apk转化aab格式

在线工具-aab转换工具

https://aab.sfhaa.com

使用流程

  • 运行环境 python3.6 +

  • 安装需要的环境

    bash
    pip install -r requirements.txt
  • 执行命令生成aab

    bash
    python bundletool.py -i test.apk -o test.aab

    参数说明:

      -h 
    
    ​        show this help message and exit
      -i 
    
    ​        输入apk的路径
      -o 
    
    ​        输出apk的路径
      --keystore 
    
    ​        签名文件路径
      --store_password 
    
    ​        签名文件路径
      --key_alias 
    
    ​        签名文件路径
      --key_password 
    
    ​        签名文件路径
      --apktool 
    
    ​        apktool.jar路径
      --aapt2 
    
    ​        aapt2路径
      --android 
    
    ​        android.jar 路径
      --bundletool 
    
    ​        bundletool.jar 路径
      --pad_reg 
    
    ​        正则表达式,从assets里面去剪切文件构建pad模块 例如: ^\d.*\.map$ 剪切以数字开头 .map 结尾的文件到pad目录
  • 详细说明

    配套博客为:https://juejin.cn/post/6982111395621896229

License

build_aab_tool is released under the Apache 2.0 license.

Copyright 2021 37手游安卓团队

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Python

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言