Skip to content

Instantly share code, notes, and snippets.

View Kisty's full-sized avatar

Timothy Kist Kisty

View GitHub Profile
@Kisty
Kisty / android-28-sources.md
Created September 4, 2019 15:04 — forked from cketti/android-28-sources.md
Build your own android-28 sources

Build "Sources for Android 28" so you can comfortably browse the Android API source in Android Studio.

  1. Collect source files
mkdir android-sdk-source-build
cd android-sdk-source-build

mkdir -p frameworks/base
def toCamelCase(String string) {
String result = ""
string.findAll("[^\\W]+") { String word ->
result += word.capitalize()
}
return result
}
afterEvaluate { project ->
Configuration runtimeConfiguration = project.configurations.getByName('compile')