Trying to use the AltBeacon Monitoring example code to monitor your contact contract beacons as described here
I am
I have put a library with an .aar extension dedicated to Android studios in my PC but could not find a way to import it into my Android studio?
H2> First
Please visit the original project page.
Second
Add it to your build, from the link provided by it, as it also tells you:
Steps 1. Get the Library and copy it to your project
Download AAR file
Create a / Libs Directory within your project and copy the AAR file there. .
Step 2. Configure your app's build.gradle file
Add a "flatDir" entry to your repository like this:
repository {mavenCentral () flatDir {dirs 'libs'}}
Add Library as a dependency such as AAR:
Dependencies {compile 'org.altbeacon: android-beacon-library: 2 + @ aar'}
Source:
No comments:
Post a Comment