andywu91 / XAPKInstaller

A library for install xapk(single apk with obb) or xapk(multiple apk with obb).
Apache License 2.0
100 stars 32 forks source link

README

XAPKInstaller

A library for install xapk(single apk with obb) or xapk(multiple apk with obb).

Getting started

Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Add the dependency in your build.gradle:

dependencies {
  implementation 'com.github.andywu91:XAPKInstaller:1.0.0'
}

Usage

you can just check code in app which replace downloadUrl to your own xapk downloadUrl,and then experience it

Thanks

use zt-zip for unzip xapk,thanks

中文说明

update

Because Meizu and vivo have modified the system installation-related classes,xapk(split apk) cannot be successfully installed, so check it and do nothing if os is flyme or funtouch os.

According to #issue 3,you need close miui optimization in setting if you use miui,otherwise the installation will fail;

In addition, please refer to the article:https://www.jianshu.com/p/580b61ee7aee