longtaoge / MultiChannelBuildDemo

Android 多渠道打包

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MultiChannelBuildDemo

Android 多渠道打包

本示例展示了AndroidStudio gradlew 进行多渠道打包的基本配置 学习本示例需具备基本 gradlew 基本知识。

打开 Terminal 输入

gradlew aR

gradlew assembleRelease

将在 /app/build/outputs/apk/ 目录下同时生成多个渠道的APP

本例完成了 对应用友盟渠道号的定制,同时在打包过程中对不同渠道的应用图片皮肤定制的基本功能

一键打包

https://github.com/longtaoge/MultiChannelBuildDemo/blob/2c841f0c7a2ce21fd136907fc24e3624a3114fce/app/src/main/res/mipmap-xxxhdpi/image1.jpg

https://github.com/longtaoge/MultiChannelBuildDemo/blob/2c841f0c7a2ce21fd136907fc24e3624a3114fce/app/src/main/res/mipmap-xxxhdpi/image2.jpg

https://github.com/longtaoge/MultiChannelBuildDemo/blob/2c841f0c7a2ce21fd136907fc24e3624a3114fce/app/src/main/res/mipmap-xxxhdpi/image3.jpg

License

Copyright (C) 2016, longtaoge

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.

About

Android 多渠道打包

License:Apache License 2.0


Languages

Language:Java 100.0%