java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 nor current process has android.permission.READ_PHONE_STATE.

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    regarding to get IMEI no using android,having following error

    Stack Overflow | 10 months ago | rajshree lanjewar
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 nor current process has android.permission.READ_PHONE_STATE.
  2. 0

    Same code but app crashes?

    Stack Overflow | 1 year ago | jcrossley
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.f454.jackc.chiropodist/com.f454.jackc.chiropodist.MainActivity}: java.lang.IllegalArgumentException: AppIndex: The android-app URI host must match the package name and follow the format android-app://<package_name>/<scheme>/[host_path]. Provided URI: android-app://com.f454.jackc.chiropody/http/host/path
  3. 0

    "You need to use a theme.appcompat theme" with Theme.AppCompat as theme, Sdk v23

    Stack Overflow | 2 years ago | guillaume_fr
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.android.debug/com.myapp.mobile.activities.HomeActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    navigate horizontally between two different layouts(2 xml files) in android wear

    Stack Overflow | 1 year ago | MJ123
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.wearable/com.example.wearable.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.wearable.view.GridViewPager.setAdapter(android.support.wearable.view.GridPagerAdapter)' on a null object reference
  6. 0

    I am getting crash on the list view using volley library .

    Stack Overflow | 10 months ago | user6313669
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.comida/com.comida.ListViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.android.volley.toolbox.ImageLoader com.comida.app.AppController.getImageLoader()' on a null object reference

  1. Hiren 2 times, last 1 week ago
  2. poroszd 1 times, last 2 weeks ago
  3. Indri Yunita 7 times, last 3 months ago
  4. andreeaa marin 184 times, last 4 months ago
  5. Reich 62 times, last 1 week ago
44 more registered users
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 nor current process has android.permission.READ_PHONE_STATE.

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    2 frames