-
Notifications
You must be signed in to change notification settings - Fork 58
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
Gradle Error Using Android Studio 4.1 #320
Comments
Hi @oras. Have you included the Maven plugin repositories into your Gradle dependencies, as discussed in the project's TLDR, ensure you have these additions to your top-level buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
// ...
}
// ...
}
allprojects {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
// ...
}
// ...
} |
According to this we should add our dependencies to the Here is my
And this is my top-level
I'm getting this error message and can't really figure out why
|
Hi, any update on this? I have exactly the same problem as @msimic-dev. Running on a MacBook with M1 pro chip. |
I am also facing the same problem as @msimic-dev. |
Please upgrade to 3.4.1 which contains support for Apple Silicon chips |
Hi, @tylerjroach. |
@hackfreeee can you show your build.gradle? |
@tylerjroach
build.gradle.kts (app)
settings.gradle.kts
error message
|
The failure is coming from your Can you try and replace that with |
@tylerjroach
|
Hi @hackfreeee @lindan4. This issue is caused by the Node Gradle Plugin being used adding a repository pointing to the nodejs.org distribution location. This plugin is used to install Node in order to run the Apollo codegen. Newer Gradle versions have centralized repository declarations in The easiest workaround is to use
Please let us know if that resolves the issue. |
Solved. Thank you so much. |
When I try to build my project, I am getting an error. Here is the Gradle error
trace:
AppSync SDK version: 3.1.1
My Android Studio version info:
Gradle version: 6.7
Android Gradle Plugin version: 4.2.0-alpha13
The text was updated successfully, but these errors were encountered: