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

Gradle Build Failed #9

Closed
ClariceHilton opened this issue Jan 10, 2023 · 4 comments
Closed

Gradle Build Failed #9

ClariceHilton opened this issue Jan 10, 2023 · 4 comments

Comments

@ClariceHilton
Copy link

I've been trying to build and it fails every time. It can't reach the following in the baseProjectTemplate.gradle:
maven { url 'https://maven.thefacebook.com/nexus/content/repositories/jcenter.bintray.com/' }
maven { url 'https://maven.thefacebook.com/nexus/content/repositories/maven.google.com/' }

Without these in the gradle file it will build. I also can't access these URLs through the browser.

Previously it was timing out and giving a error of gradle build failed with more information about not being able to reach the above urls, now it just gets stuck.

Thanks!

@PanyaMeta
Copy link
Contributor

The baseProjectTemplate.gradle file is an internal file that wasn't critical to building, so I've just removed it. Unity should now use the default gradle that was installed with Unity (you can verify this in Preferences>External Tools). Try deleting your local baseProjectTemplate.gradle file in Assets/Plugins/Android and build again, and please confirm if this helps or not.

@ClariceHilton
Copy link
Author

ClariceHilton commented Jan 11, 2023 via email

@PanyaMeta
Copy link
Contributor

Thanks for checking. It sounds like you're running into this issue then? #7

@ClariceHilton
Copy link
Author

Thanks! Will wait for a solution on that thread and will close this.

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