Skip to content Skip to sidebar Skip to footer

Exceptions Are Not Being Caught In Android Studio When Debugging

I have imported a project that was developed on Eclipse into Android Studio. The project is working perfectly when running\debugging it from Eclipse on my device. When debugging f

Solution 1:

The solution:

Apparently I was missing 2 things:

  1. Run-time permissions which I understood using this link here and with the help of @Pier Giorgio Misley's comment
  2. I was missing permissions on the AndroidManifest.xml:

    <uses-permissionandroid:name="android.permission.READ_PHONE_STATE" />

I am not sure if that's the right way to do it (answering my own question that is), since I got help from few developers here (@Pier Giorgio Misley in particular) in the comments only, but I thought it is important to mark the question as answered.

Post a Comment for "Exceptions Are Not Being Caught In Android Studio When Debugging"