File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
src/main/java/com/taobao/firstbundle Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1515 例如命令 ../gradlew clean assembleDebug -DapVersion=1.0.0 -DversionName=1.0.1
1616
17176、 检查build/output/tpatch-debug 目录下文件是否生成,然后执行下面的命令(以下为mac下的命令,windows请修改文件分隔符)
18- adb push build/outputs/tpatch-debug/update. json /sdcard/Android/data/com.taobao.demo/cache/update-** .json
18+ adb push build/outputs/tpatch-debug/update-1.0.0. json /sdcard/Android/data/com.taobao.demo/cache/update-1.0.0 .json
1919 (根据你手机的当前版本推送对应版本的update-**.json,和对应的tpatch文件)
2020 adb push build/outputs/tpatch-debug/patch-1.0.1@1.0.0.tpatch /sdcard/Android/data/com.taobao.demo/cache/patch-1.0.1@1.0.0.tpatch
2121
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ android {
2222dependencies {
2323 compile fileTree(dir : ' libs' , include : [' *.jar' ])
2424 compile ' com.android.support:appcompat-v7:25.1.0'
25- compile(' com.taobao.android:atlas_core:5.0.7.8@aar ' )
25+ compile(' com.taobao.android:atlas_core:5.0.7.11 ' )
2626 // compile project(':atlas-core')
2727}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ atlas {
8686dependencies {
8787 compile fileTree(dir : ' libs' , include : [' *.jar' ])
8888
89- compile(' com.taobao.android:atlas_core:5.0.7.8 @aar' ) {
89+ compile(' com.taobao.android:atlas_core:5.0.7.11 @aar' ) {
9090
9191 transitive = true
9292 }
@@ -106,7 +106,7 @@ dependencies {
106106 compile ' com.android.support:design:25.1.0'
107107 compile ' com.android.support:support-vector-drawable:25.1.0'
108108 compile ' com.android.support:support-v4:25.1.0'
109- compile ' com.taobao.android:atlasupdate:1.1.4.7_rc14 @aar'
109+ compile ' com.taobao.android:atlasupdate:1.1.4.10 @aar'
110110
111111 compile ' com.alibaba:fastjson:1.1.45.android@jar'
112112 compile ' com.android.support.constraint:constraint-layout:1.0.0-alpha8'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ buildscript {
1313 resolutionStrategy. cacheChangingModulesFor 0 , ' seconds'
1414 }
1515 dependencies {
16- classpath " com.taobao.android:atlasplugin:2.3.1.beta51 "
16+ classpath " com.taobao.android:atlasplugin:2.3.1.rc25 "
1717 }
1818}
1919
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ atlas {
1212 }
1313}
1414group = ' com.atlas.demo'
15- version = ' 1.0.14 '
15+ version = ' 1.0.0 '
1616
1717
1818android {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class FirstBundleActivity extends AppCompatActivity implements BlankFragm
1818 protected void onCreate (Bundle savedInstanceState ) {
1919 super .onCreate (savedInstanceState );
2020 setContentView (R .layout .activity_firstbundle );
21- Toast .makeText (this ,"dsfsfs" ,Toast .LENGTH_LONG ).show ();
21+ // Toast.makeText(this,"dsfsfs",Toast.LENGTH_LONG).show();
2222 }
2323
2424// @Override
Original file line number Diff line number Diff line change 77 }
88}
99group = ' com.atlas.demo'
10- version = ' 1.0.4 '
10+ version = ' 1.0.0 '
1111
1212android {
1313 compileSdkVersion 25
You can’t perform that action at this time.
0 commit comments