Skip to content

pdliugithub/OkIncrementUpdate

Repository files navigation

OkIncrementUpdate

Increment Update Android

English ||| 中文

[My logo]

Renderings

[Generate difference package.]

[Synthetic differential package]

[Update app]

Usage:

Step1:Add it in your root build.gradle at the end of repositories:
```
allprojects {
     	repositories {
     		...
     		maven { url 'https://jitpack.io' }
     	}
     }
```


 Step 2. Add the dependency.
 ```
 dependencies {
      	  compile 'com.github.pdliugithub:OkIncrementUpdate:v1.1' // v1.0 ---> The latest version.
      }
 ```

Medal

Code Usage:
    1、Generate difference package.
    //oldApkPath \ newApkPath \ patchPath.
    DiffUtils.genDiff(String oldApkPath, String newApkPath, String patchPath);

    2、Synthetic differential package.
    //oldApkPath \ newApkPath \ patchPath.
    PatchUtils.patch(String oldApkPath, String newApkPath, String patchPath);

About

Increment Update ,Android,library,compile

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published