Error in onResume() function

Attempt to invoke virtual method ‘void com.estimote.sdk.BeaconManager.connect(com.estimote.sdk.BeaconManager$ServiceReadyCallback)’ on a null object reference

So I got this error when I’m running on my friend’s Android which has an API level of 25, I have everything under API 25 updated in Android SDK Manager.
It works fine on my android and my friend’s android on another API level however. (My phone battery is out at this moment)

Tried to google the exact error but there is literaly no result on the internet.

Please advise :anguished:

It looks like your “beaconManager” is null, can you post a code snippet showing that starts at how you create the BeaconManager, and ends at how you call the “connect” method on it?