Android Crash Detector Library

Screenshot_2023-10-20-09-15-04-94_15c245f759578505c4e798fbc7bf786e (1) Screenshot_2023-10-20-09-15-22-86_15c245f759578505c4e798fbc7bf786e (1)


To get started with the crash detector, follow these steps:

  1. Add the following dependency to your project’s build.gradle file:

   implementation 'com.github.subhambikashbehera:Crash_Detector_Android:1.1.1'
  1. Add the following in the settings.gradle
maven { url '' }
  1. In the Activity just add the following methods to get started and you are ready to find the all the crashes related to that activity e.g.

class MainActivity : AppCompatActivity() {
   private lateinit var binding: ActivityMainBinding
   override fun onCreate(savedInstanceState: Bundle?) {
       binding = DataBindingUtil.setContentView(this, R.layout.activity_main)
  1. We can also customize the error log details

   /* it enable auto detection of release and debug build app ,
    in the release build the error logs will not visible , in the debug release only the logs will be visible */
   handleUncaughtException(showLogs = true) // it will enable to visible the logs in both relaese build and debug build 
   handleUncaughtException(showLogs = false) // it will not show any error logs in both release and debug build

   But in all above cases the restart app button always visible 

Screenshot_2023-10-20-09-16-01-25_15c245f759578505c4e798fbc7bf786e (1) Screenshot_2023-10-20-09-15-04-94_15c245f759578505c4e798fbc7bf786e (1) Screenshot_2023-10-20-09-15-22-86_15c245f759578505c4e798fbc7bf786e (1)


To use this libray nothing to do with this only you need my permission .you can seek permission by asking permission request on [email protected]


For questions or support, please contact us at [email protected].


View Github