Skip to content

阿里Atlas插件demo,完成补丁和远程模块加载测试

Notifications You must be signed in to change notification settings

lqyaos/AtlasTest

This branch is 3 commits ahead of, 7 commits behind huscarter/AtlasTest:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7cb894d · Jun 19, 2017

History

10 Commits
Jun 6, 2017
Jun 19, 2017
Jun 7, 2017
Jun 6, 2017
Jun 7, 2017
Jun 7, 2017
Jun 7, 2017
Jun 19, 2017
Jun 7, 2017
Jun 6, 2017
Jun 6, 2017
Jun 7, 2017
Jun 6, 2017

Repository files navigation

测试步骤

打包

./gradlew clean assembleDebug publish

安装

adb install app/build/outputs/apk/app-debug.apk

补丁使用

  • 打补丁

1、修改app/build.gradle中version = getEnvValue("versionName", "1.0.1")

2、执行 ./gradlew clean assembleDebug -DapVersion=1.0.0 -DversionName=1.0.1

  • 推送补丁

1、从电脑将补丁push到移动端(mac命令push到模拟器)(huscarter/AtlasTest中的 /storage要去掉)

adb push app/build/outputs/tpatch-debug/update.json /sdcard/Android/data/com.whh.atlastest/cache/update.json

adb push app/build/outputs/tpatch-debug/patch-1.0.1@1.0.0.tpatch /sdcard/Android/data/com.whh.atlastest/cache

2、服务器推送补丁到移动端安装

Todo.

远程加载模块

  • 打包

./gradlew clean assembleDebug publish

  • 推送补丁

1、从电脑将补丁push到移动端(mac命令push到模拟器)

adb push app/build/outputs/remote-bundles-debug/libcom_whh_remotebundle.so /sdcard/Android/data/com.whh.atlastest/cache

2、服务器推送补丁到移动端安装

Todo.

官方文档

https://github.com/alibaba/atlas/tree/master/atlas-demo

http://atlas.taobao.org/docs/guide-for-use/guide_for_build.html

About

阿里Atlas插件demo,完成补丁和远程模块加载测试

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%