Android 二进制资源读/写库
This library is developed based on AOSP structure of androidfw/ResourceTypes.h , to totally replace aapt/aapt2
1- Decoding resources to XML requires all source names should be un-obfuscated and valid
2- User of this lib is assumed to have good knowledge of android source XML syntax, thus
during encoding/building it does not validate or throw XML syntax errors as often as aapt/aapt2. For
example, you are allowed to set wrong values on some places and doesn't prevent from
successful building. On AndroidManifest.xml you can set package="Wrong (package) name!"
then you have to know such values are acceptable by android devices.
Check this tool developed using this library https://github.com/REAndroid/APKEditor
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.reandroid:ARSCLib:+")
}dependencies {
implementation(files("$rootProject.projectDir/libs/ARSCLib.jar"))
}git clone https://github.com/REAndroid/ARSCLib.git
cd ARSCLib
./gradlew jar
# Built jar will be placed ./build/libs/ARSCLib-x.x.x.jarJava example
…暂无开放 Issues,或尚未同步最近议题。