Estimote / Android-Fleet-Management-SDK

Estimote Fleet Management SDK for Android
https://developer.estimote.com
MIT License
836 stars 451 forks source link

BeaconManager: 'could not bind to service'. #42

Closed MartinOrdinateur closed 10 years ago

MartinOrdinateur commented 10 years ago

When I run the sample applications, all seems to work fine. I can detect the beacons and see their distance.

However, when I create my own Eclipse project, include the external jars for estimote and guave and try to simulate what happens in the ListBeaconsActivity, the BeaconManager initializes but then reports 'Could not bind service'.

I'm pretty sure I'm using at least the same library as the working sample (because I copied it from there). As far as I can tell all settings in project should be correct, since the application doesn't crash on classes not found.

Is there something I could be missing?

Thanks in advance.

wiktor commented 10 years ago

You are missing modifying AndroidManifest.xml. See second step in tutorial https://github.com/Estimote/Android-SDK#installation