skrafft / react-native-jitsi-meet

React native wrapper for Jitsi Meet SDK
Apache License 2.0
286 stars 348 forks source link

Was working fine for android on 0.64.3 until a week ago, but getting this error now "More than one file was found with OS independent path 'lib/arm64-v8a/libturbomodulejsijni.so'" #364

Open saheem128 opened 2 years ago

saheem128 commented 2 years ago

@skrafft

Screenshot 2022-03-27 at 11 55 25 AM
saheem128 commented 2 years ago

@skrafft Screenshot 2022-03-27 at 11 55 25 AM

Tried adding line "**/libturbomodulejsijni.so" in app/build.gradle, builds fine but crashes on start. My package.json: "dependencies": { "@beratkara/react-native-jitsi-meet": "^1.0.3", "@dudigital/react-native-zoomable-view": "^1.1.3", "@expo/react-native-action-sheet": "^3.9.0", "@miblanchard/react-native-slider": "^2.0.2", "@notifee/react-native": "^3.0.0", "@react-native-async-storage/async-storage": "^1.13.2", "@react-native-community/cameraroll": "^4.0.4", "@react-native-community/google-signin": "^5.0.0", "@react-native-community/masked-view": "^0.1.10", "@react-native-community/netinfo": "5.0.0", "@react-native-firebase/app": "^12.0.0", "@react-native-firebase/auth": "^12.1.0", "@react-native-firebase/messaging": "^12.8.0", "@react-native-picker/picker": "^1.16.7", "@react-navigation/drawer": "^5.11.4", "@react-navigation/material-top-tabs": "^5.3.15", "@react-navigation/native": "^5.8.10", "@react-navigation/stack": "^5.12.8", "add": "^2.0.6", "formik": "^2.2.8", "jsc-android": "^250230.2.1", "mime": "^1.6.0", "moment": "^2.29.1", "nvm": "0.0.4", "patch-package": "^6.4.7", "postinstall-postinstall": "^2.1.0", "react": "16.13.1", "react-native": "^0.63.4", "react-native-animatable": "^1.3.3", "react-native-animated-progress": "^1.0.2", "react-native-axios": "^0.17.1", "react-native-circular-progress": "^1.3.7", "react-native-country-picker-modal": "^2.0.0", "react-native-create-thumbnail": "^1.4.1", "react-native-document-picker": "^6.0.4", "react-native-dropdown-picker": "^5.1.23", "react-native-email-link": "^1.11.3", "react-native-fbsdk-next": "^6.0.0", "react-native-file-viewer": "^2.1.4", "react-native-flash-message": "^0.2.0", "react-native-form-validator": "^0.1.3", "react-native-fs": "^2.18.0", "react-native-gesture-handler": "^1.10.3", "react-native-image-crop-picker": "^0.29.0", "react-native-image-pan-zoom": "^2.1.12", "react-native-image-slider-show": "^1.0.3", "react-native-image-zoom-viewer": "^3.0.1", "react-native-keyboard-aware-scroll-view": "^0.9.4", "react-native-keyboard-aware-view": "^0.0.14", "react-native-linear-gradient": "^2.5.6", "react-native-material-menu": "^2.0.0", "react-native-modal": "^13.0.0", "react-native-network-bandwith-speed": "^3.0.0", "react-native-open-settings": "^1.0.1", "react-native-paper": "^4.12.0-alpha.0", "react-native-paper-dropdown": "^1.0.7", "react-native-permissions": "^3.1.0", "react-native-picker-select": "^8.0.4", "react-native-pinch-zoom-view": "^0.2.0", "react-native-progress": "^5.0.0", "react-native-push-notification": "^8.1.1", "react-native-reanimated": "^2.2.4", "react-native-safe-area-context": "^3.1.9", "react-native-screens": "^2.16.1", "react-native-select-dropdown": "^1.8.0", "react-native-shimmer-placeholder": "^2.0.8", "react-native-snap-carousel": "^3.9.1", "react-native-spinkit": "^1.5.1", "react-native-splash-screen": "^3.2.0", "react-native-status-bar-height": "^2.6.0", "react-native-svg": "^12.1.1", "react-native-tab-view": "^2.16.0", "react-native-vector-icons": "^7.1.0", "react-native-video": "^5.1.1", "react-native-webview": "^11.14.3", "react-redux": "^7.2.2", "redux": "^4.0.5", "redux-persist": "^6.0.0", "redux-thunk": "^2.3.0", "rn-fetch-blob": "^0.12.0", "rn-range-slider": "^2.1.1", "socket.io-client": "^4.2.0", "yarn": "^1.22.17", "yup": "^0.32.9" }, "devDependencies": { "@babel/core": "^7.8.4", "@babel/runtime": "^7.8.4", "@react-native-community/eslint-config": "^1.1.0", "babel-jest": "^25.1.0", "eslint": "^6.5.1", "jest": "^25.1.0", "metro": "^0.66.2", "metro-config": "^0.66.2", "metro-react-native-babel-preset": "^0.59.0", "react-native-codegen": "^0.0.7", "react-native-svg-transformer": "^0.14.3", "react-test-renderer": "16.13.1" },

build.gradle when everything was working, just a week ago and suddenly it throws this error: ... def enableHermes = project.ext.react.get("enableHermes", false); ... android { packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86/libjsc.so' pickFirst 'lib/x86_64/libjsc.so' pickFirst 'lib/arm64-v8a/libjsc.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libjsc.so' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/license.txt' exclude 'META-INF/NOTICE' exclude 'META-INF/NOTICE.txt' exclude 'META-INF/notice.txt' exclude 'META-INF/ASL2.0' exclude("META-INF/*.kotlin_module") } } ... dependencies { implementation 'com.google.android.material:material:' implementation(project(':react-native-jitsi-meet')) { exclude group: 'com.facebook.react',module:'react-native-locale-detector' exclude group: 'com.facebook.react',module:'react-native-vector-icons' exclude group: 'com.facebook.react',module:'react-native-async-storage' exclude group: 'com.facebook.react',module:'react-native-community_netinfo' exclude group: 'com.facebook.react',module:'react-native-svg' exclude group: 'com.facebook.react',module:'react-native-fetch-blob' exclude group: 'com.facebook.react',module:'react-native-webview' exclude group: 'com.facebook.react',module:'react-native-linear-gradient' exclude group: 'com.facebook.react',module:'react-native-splash-screen' exclude group: 'com.facebook.react',module:'react-native-google-signin' exclude group: 'com.facebook.react',module:'react-native-video' exclude group: 'com.facebook.react',module:'react-native-permissions' }

goff-studio commented 2 years ago

check here, I answered https://github.com/skrafft/react-native-jitsi-meet/issues/369#issuecomment-1096898636