-
Notifications
You must be signed in to change notification settings - Fork 101
Setup for development
Find the Android Studio download for your OS here
To retrieve the API level of the framework on your CM device, run
adb shell getprop ro.cm.build.version.plat.sdk
You can either download from prebuilts hosted on github or pull directly via Gradle.
Our stable releases are mirrored in Maven Central, and you can fetch the current release by setting your build.gradle
dependencies to
dependencies {
compile 'org.cyanogenmod:platform.sdk:4.+'
}
Within build.gradle
make sure your repositories
list sonatype OSS repos for snapshots
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
}
You can target the future
or development
branch by setting your dependencies
for 5.0-SNAPSHOT
dependencies {
compile 'org.cyanogenmod:platform.sdk:5.0-SNAPSHOT'
}
-
Locate your phone on and download a nightly build from the CM download site.. You'll want a CM12+ nightly build from May 20th or later.
-
On your device's page, follow the installation instructions to flash the ROM downloaded in step 1 to your device (example)
Please note that not all devices currently support CM