Open oleksiiSevrukovRedvike opened 1 week ago
Hi @oleksiiSevrukovRedvike thanks for reaching out. The version details and issue description are much appreciated, thank you. Just to confirm, you were able to build and run your app before installing the Twilio RN SDK as a dependency? And you only started to see this sync issue after you installed the library? Could you try doing a gradle clean using Android Studio, and attempt to build again? If that fails, could you try to remove your node_modules
folder, do a clean yarn install
, and try building again?
Hi @mhuynh5757! Yes, previously sync and build were successful without Twilio RN SDK. Yes, this error appears only after installation of Twilio RN SDK. Gradle clean didn't helped. Remove node_modules folder and clean yarn install didn't helped too.
@mhuynh5757 if I remove namespace 'com.twiliovoicereactnative'
from build.gradle sync is successful
But when I try to make build I get error error: package android.app does not exist
in VoiceApplicationProxy.java:8
so it can't import android.app.Application;
@mhuynh5757 if I change JavaVersion.VERSION_11
to JavaVersion.VERSION_1_8
build is successful but I get crash immediately with error java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/collections/CollectionsKt;
I have downgraded firebase libraries to versions where they use JavaVersion.VERSION_1_8
, but do you have releases with JavaVersion.VERSION_1_8
?
Issue
Pre-submission Checklist
Description
I've added twilio-voice-react-native and I can't sync android project now. I get error
Reproduction Steps
Expected Behavior
Android project can be synced
Actual Behavior
I get error on sync step
Reproduction Frequency
100%
Software and Device Information
Please complete the following information.