-
Load the project in Android Studio.
-
Edit the app module
build.gradlefile to depend on the published NearIT-UI library (recommended) or to depend on the local module.
// published version
compile 'it.nearit.sdk:nearit-ui:X.Y.Z'
// local module
compile project(':nearit-ui')- Add a
nearit_apivariable to the applocal.propertiesfile.
nearit_api=your-secret-nearit-api-key
- Build and run the sample.