A library for install xapk(single apk with obb) or xapk(multiple apk with obb).
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'
}
you can just check code in app which replace downloadUrl to your own xapk downloadUrl,and then experience it
use zt-zip for unzip xapk,thanks
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