You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
650 B
27 lines
650 B
6 years ago
|
---
|
||
|
layout: page
|
||
|
title: "Install"
|
||
6 years ago
|
description: "Integrate in your project"
|
||
6 years ago
|
order: 1
|
||
|
---
|
||
|
|
||
|
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](https://bintray.com/natario/android/CameraView), 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:
|
||
|
|
||
|
```groovy
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
}
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Then simply download the latest version:
|
||
|
|
||
|
```groovy
|
||
5 years ago
|
api 'com.otaliastudios:cameraview:{{ site.github_version }}'
|
||
6 years ago
|
```
|
||
|
|
||
|
No other configuration steps are needed.
|