-
Notifications
You must be signed in to change notification settings - Fork 1
Install
javier7ar edited this page Apr 22, 2018
·
6 revisions
-
Create a new empty Android Studio project (without any activity)
- The Minimun SDK Version must be API17: Android 4.2 (Jelly Bean)
-
Import the framework library into your Android Studio project
- Download the latest samplersFramework.aar from here
- Import the library into the project: File -> New -> New Module -> Import .JAR/.AAR Package
-
Add the google repository
- On your project build.gradle
allprojects { repositories { jcenter() google() } }
- On your project build.gradle
-
Add the necessary dependencies
- On your application build.gradle
dependencies { // here the standards dependencies created by Android Studio // ... // if not added automatically, add this dependency // you should use the latest version e.j. 25.+ compile 'com.android.support:design:24.2.1' compile 'com.android.support.constraint:constraint-layout:1.0.2' // if you will use maps and location services, add this dependencies (you should use the latest version) compile ('com.google.android.gms:play-services-location:12.0.1') compile ('com.google.android.gms:play-services-maps:12.0.1') // if you will use authentication with Google, add this dependencies (you should use the latest version) compile ('com.google.android.gms:play-services-auth:12.0.1') // the framework dependency compile project(":samplersFramework") }
- On your application build.gradle
-
Instantiate
Instantiation can be done manually or using gradle class generator.