Skip to content
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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'. #416

Open
palmtown opened this issue Dec 10, 2022 · 3 comments

Comments

@palmtown
Copy link

Hello Community,

I followed the instructions for installing on Android exactly as described at https://www.npmjs.com/package/react-native-jitsi-meet in the Android Install section. However, I am getting the below errors. Any help would be appreciated!

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Could not find com.facebook.react:react-native-amplitude:2.7.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-amplitude/2.7.0-jitsi-10639879/react-native-amplitude-2.7.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-device-info:8.4.8-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-device-info/8.4.8-jitsi-10639879/react-native-device-info-8.4.8-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-google-signin:7.0.4-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-google-signin/7.0.4-jitsi-10639879/react-native-google-signin-7.0.4-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-async-storage:1.15.14-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-async-storage/1.15.14-jitsi-10639879/react-native-async-storage-1.15.14-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-background-timer:2.4.1-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-background-timer/2.4.1-jitsi-10639879/react-native-background-timer-2.4.1-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-calendar-events:2.2.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-calendar-events/2.2.0-jitsi-10639879/react-native-calendar-events-2.2.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-community_clipboard:1.5.1-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-community_clipboard/1.5.1-jitsi-10639879/react-native-community_clipboard-1.5.1-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-community_netinfo:7.1.7-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-community_netinfo/7.1.7-jitsi-10639879/react-native-community_netinfo-7.1.7-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-default-preference:1.4.4-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-default-preference/1.4.4-jitsi-10639879/react-native-default-preference-1.4.4-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-gesture-handler:2.1.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-gesture-handler/2.1.0-jitsi-10639879/react-native-gesture-handler-2.1.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-get-random-values:1.7.2-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-get-random-values/1.7.2-jitsi-10639879/react-native-get-random-values-1.7.2-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-giphy:1.7.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-giphy/1.7.0-jitsi-10639879/react-native-giphy-1.7.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-immersive:2.0.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-immersive/2.0.0-jitsi-10639879/react-native-immersive-2.0.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-keep-awake:4.0.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-keep-awake/4.0.0-jitsi-10639879/react-native-keep-awake-4.0.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-masked-view_masked-view:0.2.6-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-masked-view_masked-view/0.2.6-jitsi-10639879/react-native-masked-view_masked-view-0.2.6-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-pager-view:5.4.9-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-pager-view/5.4.9-jitsi-10639879/react-native-pager-view-5.4.9-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-performance:2.1.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-performance/2.1.0-jitsi-10639879/react-native-performance-2.1.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-reanimated:1.13.4-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-reanimated/1.13.4-jitsi-10639879/react-native-reanimated-1.13.4-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-safe-area-context:3.3.2-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-safe-area-context/3.3.2-jitsi-10639879/react-native-safe-area-context-3.3.2-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-screens:3.10.1-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-screens/3.10.1-jitsi-10639879/react-native-screens-3.10.1-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-slider:4.1.12-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-slider/4.1.12-jitsi-10639879/react-native-slider-4.1.12-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-sound:0.11.1-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-sound/0.11.1-jitsi-10639879/react-native-sound-0.11.1-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-splash-screen:3.3.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-splash-screen/3.3.0-jitsi-10639879/react-native-splash-screen-3.3.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-svg:12.1.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-svg/12.1.0-jitsi-10639879/react-native-svg-12.1.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-video:5.2.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-video/5.2.0-jitsi-10639879/react-native-video-5.2.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-webrtc:1.100.0-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-webrtc/1.100.0-jitsi-10639879/react-native-webrtc-1.100.0-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0
Could not find com.facebook.react:react-native-webview:11.15.1-jitsi-10639879.
Searched in the following locations:
- file:/C:/Users/dev/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native-webview/11.15.1-jitsi-10639879/react-native-webview-11.15.1-jitsi-10639879.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :react-native-jitsi-meet > org.jitsi.react:jitsi-meet-sdk:5.1.0

@estani
Copy link

estani commented Dec 15, 2022

see #406

@palmtown
Copy link
Author

Hello @estani

Thank you for your suggestion. I'll give that a try and update the outcome here.

@palmtown
Copy link
Author

Hello @estani

Again, thanks for your suggestion. The solution at #406 did not resolve the issue, however, it did lead me to investigate that file. I found I was using an exclusiveContent filter as shown below, and that is what caused the issue. AFter fixing that issue, I was able to build in Android successfully.

Now, that I resolved that issue, a few more issues popped up. First, error was " java.lang.NoClassDefFoundError: com.facebook.react.jscexecutor.JSCExecutor." I found that by adding enableVmCleanup: false in project.ext.react solves it. However, the second issue is now I am getting a black screen and the conference is not loading. I'm researching that now.

exclusiveContent {
filter {
includeGroup "com.facebook.react"
}
forRepository {
maven {
url "$rootDir/../node_modules/react-native/android"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants