[android-components](../../index.md) / [mozilla.components.lib.crash](../index.md) / [CrashReporter](index.md) / [install](./install.md)

# install

`fun install(applicationContext: <ERROR CLASS>): `[`CrashReporter`](index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/crash/src/main/java/mozilla/components/lib/crash/CrashReporter.kt#L70)

Install this [CrashReporter](index.md) instance. At this point the component will be setup to collect crash reports.

