java.lang.SecurityException: getDeviceId: Neither user 10163 nor current process has android.permission.READ_PHONE_STATE.

Basta adicionar no AndroidManifest.xml.

[code type=xml]