# App immediatly crash after installing react-native-webrtc

**URL:** <https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614>\
**Category:** Help\
**Created:** [April 21, 2020, 9:05pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614 "2020-04-21T21:05:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ottman](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@ottman](https://react-native-webrtc.discourse.group/u/ottman)\
**Post date:** [April 21, 2020, 9:05pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/1 "2020-04-21T21:05:01Z")

</div>

Hello everyone !  
I just created a new app (react 16.11 and react-native 0.62) , installed react-native-webrtc and configure the android part acording to the docs (as i did for an other app that works well) but without even calling any method form the package the app open and close immediatly.

Anyone run into that problem ?

---

<div class="post-metadata">

**Author:** ![8BallBomBom](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/8ballbombom/32/710_2.png) [@8BallBomBom](https://react-native-webrtc.discourse.group/u/8BallBomBom)\
**Post date:** [April 21, 2020, 9:22pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/2 "2020-04-21T21:22:12Z")

</div>

Would be easier to debug if you could provide logs from logcat.  
Shouldn’t be more than opening the android project in Android Studio, hooking up the device, launch the app a few times, check the logs for the crash error.

---

<div class="post-metadata">

**Author:** ![ottman](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@ottman](https://react-native-webrtc.discourse.group/u/ottman)\
**Post date:** [April 23, 2020, 8:37am UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/3 "2020-04-23T08:37:11Z")

</div>

Hi !

thank you for your answer, i find the issue, it was the gradle version ( 6 ) so i just downgrade to 5.5 i it’s working fine !

Thanks again

---

<div class="post-metadata">

**Author:** ![8BallBomBom](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/8ballbombom/32/710_2.png) [@8BallBomBom](https://react-native-webrtc.discourse.group/u/8BallBomBom)\
**Post date:** [April 23, 2020, 9:12am UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/4 "2020-04-23T09:12:25Z")

</div>

If you’re experiencing crashing due to using a newer gradle version then you can fix that by adding `android.enableDexingArtifactTransform.desugaring=false` inside your gradle.properties file.

---

<div class="post-metadata">

**Author:** ![ottman](https://avatars.discourse-cdn.com/v4/letter/o/c4cdca/32.png) [@ottman](https://react-native-webrtc.discourse.group/u/ottman)\
**Post date:** [April 24, 2020, 7:46pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/5 "2020-04-24T19:46:57Z")

</div>

Oh ok nice, thank you very much

---

<div class="post-metadata">

**Author:** ![biswanath](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/biswanath/32/214_2.png) [@biswanath](https://react-native-webrtc.discourse.group/u/biswanath)\
**Post date:** [May 3, 2020, 5:52pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/6 "2020-05-03T17:52:26Z")

</div>

This solution work perfectly  
Thanks:)

---

<div class="post-metadata">

**Author:** ![RomanSuvorov](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@RomanSuvorov](https://react-native-webrtc.discourse.group/u/RomanSuvorov)\
**Post date:** [May 12, 2020, 5:48pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/7 "2020-05-12T17:48:48Z")

</div>

How can this work, if this property is experimental and unsupported? The current default value of this property - ‘true’.

I tried your advice, but I got a new error  
“Native module WebRTCModule tried to override WebRTCModule.” I made rebuild, but this didn’t help in my case(Any ideas?)

 ![Снимок экрана 2020-05-12 в 20.57.54](https://global.discourse-cdn.com/free1/uploads/reactnativewebrtc1/original/1X/3c5b81c07ad373b6553f0ff1aebf2517bfb988fa.png)

---

<div class="post-metadata">

**Author:** ![8BallBomBom](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/8ballbombom/32/710_2.png) [@8BallBomBom](https://react-native-webrtc.discourse.group/u/8BallBomBom)\
**Post date:** [May 13, 2020, 2:05am UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/8 "2020-05-13T02:05:18Z")

</div>

Weird error.  
Seems almost like you’re trying to load the module twice.

---

<div class="post-metadata">

**Author:** ![8BallBomBom](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/8ballbombom/32/710_2.png) [@8BallBomBom](https://react-native-webrtc.discourse.group/u/8BallBomBom)\
**Post date:** [May 13, 2020, 12:49pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/9 "2020-05-13T12:49:24Z")

</div>

Same issue as here.

> <https://github.com/react-native-webrtc/react-native-webrtc/issues/785>
>
> I followed the Android installation instructions but I got this error I checked and the package is declared only once.
> MainApplication.java
> package ...;
> import...

---

<div class="post-metadata">

**Author:** ![Nandha](https://avatars.discourse-cdn.com/v4/letter/n/5f8ce5/32.png) [@Nandha](https://react-native-webrtc.discourse.group/u/Nandha)\
**Post date:** [June 13, 2020, 6:32pm UTC](https://react-native-webrtc.discourse.group/t/app-immediatly-crash-after-installing-react-native-webrtc/614/10 "2020-06-13T18:32:19Z")

</div>

Don’t link manually, leave it to auto link
