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

A problem occurred configuring project ':react-native-view-overflow'. #50

Open
Usamamalik007 opened this issue Feb 20, 2019 · 6 comments

Comments

@Usamamalik007
Copy link

A problem occurred configuring project ':react-native-view-overflow'.

Could not resolve all files for configuration ':react-native-view-overflow:classpath'.
Could not find manifest-merger.jar (com.android.tools.build:manifest-merger:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/manifest-merger/26.1.0/manifest-merger-26.1.0.jar
Could not find ddmlib.jar (com.android.tools.ddms:ddmlib:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/26.1.0/ddmlib-26.1.0.jar
Could not find dvlib.jar (com.android.tools:dvlib:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/dvlib/26.1.0/dvlib-26.1.0.jar
Could not find common.jar (com.android.tools:common:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/common/26.1.0/common-26.1.0.jar

@sibelius
Copy link
Member

Recheck your linking

@Usamamalik007
Copy link
Author

If you could please elaborate a little.

@sibelius
Copy link
Member

try to run react-native link again

I think the link part is wrong

@Usamamalik007
Copy link
Author

I have, it has been linked successfully but still the problem is same.

@junocs
Copy link

junocs commented Mar 25, 2019

I fixed this by adding this to android/build.gradle

subprojects { project ->
    if (project.name.contains('react-native-view-overflow')) {
        buildscript {
            repositories {
                maven { url "https://maven.google.com" }
            }
        }
    }
}

@jgcmarins
Copy link

@junocs does it makes sense to add this info to docs?

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

4 participants