Coder Social home page Coder Social logo

yesxiao / antbatchapk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cn-ljb/antbatchapk

0.0 2.0 0.0 24.14 MB

Android通过Ant多渠道打包

Java 0.01% Shell 0.04% Batchfile 0.06% Perl 0.03% Python 0.01% HTML 99.17% JavaScript 0.02% CSS 0.03% ApacheConf 0.01% XSLT 0.64%

antbatchapk's Introduction

##Ant多渠道打包##

所需素材:

1、apache-ant 传送门

2、ant-contrib.jar 传送门

3、apktool 传送门

4、JDK

5、AndroidSDK

打包原理: 反编译基础Apk -> 循环渠道号 -> 替换assets目录下的渠道文件 -> 修改渠道号 -> 重新生成Apk -> 进行签名 -> zipalign优化

使用方法:

1、将android_batchapk拷贝到E盘根目录

2、配置环境变量jdk/bin目录、androidSDK/tools目录、ant/bin目录

3、将多渠道打包的apk、签名文件拷贝到keystore目录下

4、配置keystore/keystore.properties文件信息,例如:

5、配置build.properties文件信息,例如:

6、运行ant.bat

7、batchapk中查看渠道包

antbatchapk's People

Contributors

cn-ljb avatar

Watchers

James Cloos avatar  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.