Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2019-08-29:请谈谈你是如何进行多渠道打包的? #132

Open
Moosphan opened this issue Aug 29, 2019 · 11 comments
Open

2019-08-29:请谈谈你是如何进行多渠道打包的? #132

Moosphan opened this issue Aug 29, 2019 · 11 comments

Comments

@Moosphan
Copy link
Owner

No description provided.

@DaveBoy
Copy link

DaveBoy commented Aug 29, 2019

渠道少就自己一个个的打,渠道多的配置就百度一哈解决

@xianglongmeng
Copy link

正好有个问题 为啥我的Studio 升级到3.5.0无法进行多渠道打包,单打也不行,降级了就能正常打包

@guoxiaojiang
Copy link

productFlavors

@zhaoerlei1989
Copy link

1.gradle自带的productFlavor方式
2.360加固保,腾讯云·乐固,友盟
3.https://github.com/mcxiaoke/gradle-packer-plugin列子

@gabyallen
Copy link

1.gradle自带的productFlavor方式
2.360加固保,腾讯云·乐固,友盟,梆梆

@JoeysWang
Copy link

用python脚本改metainf文件

@sendtion
Copy link

用360加固保,加固打包一条龙

@weikano
Copy link

weikano commented Sep 1, 2019

  1. productFlavor
  2. 如果不涉及apk类和资源改动,仅仅是某些配置信息,用walle更快
  3. 第三方的类似腾讯

@yline
Copy link

yline commented Jan 27, 2020

    从本质上来说,多渠道打包就是修改配置文件内容;因此,只需要apk解压 -> 修改文件 -> 压缩文件<br>
    1,android studio一个一个的修改配置,打包<br>
    2,利用第三方工具,实现这个过程,一半三方加固工具都有这个功能<br>
    3,自己实现脚本,shell脚本或python脚本<br>
    <br>

我自己偷懒,就使用第三方工具多渠道打包

@zlrab
Copy link

zlrab commented Jan 17, 2021

  1. productFlavor
  2. 自定义gradle插件 入侵gradle构建流程(脚手架:java,kotlin,groovy)拓展性极高 需足够熟悉android gradle api 但是android gradle api向下兼容性很差

@mlinqirong
Copy link

mlinqirong commented Jan 10, 2022

在APP的build.gradle使用productFlavors配置多渠道参数 可以配置生产环境和发布环境 包名 版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests