You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| app | 3 years ago | |
| gradle/wrapper | 3 years ago | |
| lib | 3 years ago | |
| .gitignore | 3 years ago | |
| LICENSE | 7 years ago | |
| README.md | 3 years ago | |
| README_zh.md | 3 years ago | |
| build.gradle | 3 years ago | |
| gradle.properties | 7 years ago | |
| gradlew | 7 years ago | |
| gradlew.bat | 7 years ago | |
| settings.gradle | 7 years ago | |
README.md
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