CameraView
Menu toggle
latest: v2.7.1 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 Maven Central, where you can download the AAR package. To fetch with Gradle, make sure you add the Maven Central repository in your root projects build.gradle file:

allprojects {
  repositories {
    mavenCentral()
  }
}

Then simply download the latest version:

api 'com.otaliastudios:cameraview:2.7.1'

No other configuration steps are needed.