This is an demo project to use modified android framework.
- Modify the aosp framework
- Build and get the classes.jar in out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/
- Put the classes.jar in libs
- Modify the root project's build.gradle (or subproject)
subprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add("-Xbootclasspath/p:${rootDir}/libs/framework.jar")
}
}
}