Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()
You need to request READ_PHONE_STATE permissions before using of this method.
Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.