Integration part clarified.

This commit is contained in:
Aleksander Nowakowski 2016-11-10 16:45:59 +01:00 committed by GitHub
parent 9cd78d010a
commit 4fc3ee1b18
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,14 @@ The DFULibrary is compatible as such with Android Studio IDE. If you are using E
#### Android Studio
The easiest way to include the library to your project is to add the
```compile 'no.nordicsemi.android:dfu:[Version]'```
line to your build.gradle file. And that's it.
However, if you want to modify the code to your needs you have to clone the project and add it as follows:
1. Clone the project, or just the *DFULibrary* folder (using sparse-checkout) to a temporary location.
2. Copy the *DFULibrary* folder to your projects root, for example to *AndroidstudioProjects*.
3. Add the **dfu** module to your project: