Android gradle plugin for resource package id modification(0x7f -> 0xpp)
support android-gradle-plugin 3.6.+
🇨🇳中文版戳这里
Import the following code
- in your root project build.gradle
buildscript {
repositories {
jcenter()
......
}
dependencies {
......
classpath 'com.reginald:andresm:0.4.0'
}
}
- in your module build.gradle
apply plugin: 'com.reginald.andresm'
andresm {
packageId = 0x61
}
Replace the outputs of aapt process including:
- resources.ap_ : arsc file, compiled xml files
- generated source: R.java, R.jar