-
Notifications
You must be signed in to change notification settings - Fork 46
Difficulties Implementing the 'Expo Support' Guide due to Build Failures #522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @danboley thanks for reaching out. It appears that maybe the SDK is getting double auto-linked. Can you try to add a file to the root of the SDK
|
Hi @mhuynh5757 I appreciate the help with this. I added the suggested file to the root of the SDK and I am still encountering the exact same build error. |
Just to be sure, can you do a complete clean and rebuild using Android Studio? I'm curious if there's still autolinking that's happening. |
I ran a complete clean and rebuild and I am still encountering the same build error. |
Hey @danboley I'm sorry to hear that you're still encountering this issue. Let's see if we can dig into it more. Do you mind sharing a snippet of your The reason I am slightly suspecting a double-autolinking issue is that Expo Modules autolinking (for whatever reason) imports the SDK as |
Hi @mhuynh5757 thanks for reaching back out. Good pickup on the dash vs underscore in the sdk name, I hadn't noticed that previously. Here's the link to my ExpoModule.kt file. Feel free to reference any other files you think might be relevant. |
Hey @danboley sorry for the delay in getting back to you, could you try I see that the Expo guide that we posted incorrectly uses |
I'm trying to use the twilio-voice-react-native package in a clean Expo project following the approach outlined in the "Expo Support" guide. After modifying the package to work with Expo Modules, I’m consistently hitting a Kotlin build error related to the Task :twilio-voice-react-native-sdk:compileDebugKotlin. Error log provided below. Happy to provide any files or additional info. Thanks.
Build Error:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
Execution failed for task ':twilio-voice-react-native-sdk:compileDebugKotlin'.
2: Task failed with an exception.
Execution failed for task ':twilio_voice-react-native-sdk:compileDebugKotlin'.
The text was updated successfully, but these errors were encountered: