MrHertal / react-native-twilio-phone

Twilio Voice React Native module.
MIT License
153 stars 66 forks source link

java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList #88

Open kimsusun1234 opened 2 years ago

kimsusun1234 commented 2 years ago

I'm facing this issue right after install this package. Open the app and it crash immediately. I log using android studio logcat and get this error.

I've tried every possible solutions on the internet for this but it does not work. Did anyone facing this problem before?

java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList

armouti commented 2 years ago

@MrHertal This issue started with the latest 1.10.0 update, I'm having the same issue but with a slightly different error message in the logcat: react-native AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class com.tarjimlymobile.MainApplication on path: DexPathList[... (tarjimlymobile is the name of our application)

armouti commented 2 years ago

@kimsusun1234 install the 1.8.1 version instead, it works well, this only started with the latest update: yarn add react-native-twilio-phone@1.8.1 or npm install react-native-twilio-phone@1.8.1

kimsusun1234 commented 2 years ago

@kimsusun1234 install the 1.8.1 version instead, it works well, this only started with the latest update: yarn add react-native-twilio-phone@1.8.1 or npm install react-native-twilio-phone@1.8.1

Thanks, your solutions works perfectly. I'm trying to make Native Modules because of this issue. And the library for android that i imported into the project has same issue. I think the problem is about the twilio sdk