Menu toggle
latest: v2.7.0 GitHub

The library works on API 15+, which is the only requirement and should be met by most projects nowadays.

It is publicly hosted on JCenter, where you can download the AAR package. To fetch with Gradle, make sure you add the JCenter repository in your root projects build.gradle file:

allprojects {
  repositories {

Then simply download the latest version:

api 'com.otaliastudios:cameraview:2.7.0'

No other configuration steps are needed.