Can't build APK after upgrade to ExpoKit 31

Hi all :wave:

We have an ejected Expo app and we’ve upgraded from version 30 to version 31 by following the instructions in this post.

Now, when trying to build the APK, we get the following error:

Task :app:transformDexArchiveWithExternalLibsDexMergerForDevMinSdkDevKernelDebug FAILED D8: Program type already present: okhttp3.internal.ws.RealWebSocket

This is our android/app/build.gradle file: https://pastebin.com/gmEtY9v4
This is our MainActivity.java: https://pastebin.com/Kfdjyfni

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.