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 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: Add Library as a dependency such as AAR: Source: build, from the link provided by it, as it also tells you:
repository {mavenCentral () flatDir {dirs 'libs'}}
Dependencies {compile 'org.altbeacon: android-beacon-library: 2 + @ aar'}
No comments:
Post a Comment