http://www.31mins.com/android-studio-build-system-application/
http://www.wxtlife.com/2015/03/31/how-to-use-android-hide-methods-or-class/
添加自定义的系统类库
如果修改了系统源码,导出了类似android.jar的jar包,则可以通过以下方式进行引用,该引用方式会优先于andriod.jar:
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
def path = "custom_android.jar";
options.compilerArgs.add('-Xbootclasspath/p:'+path);
}
}
网友评论