oculus-samples / Unity-TheWorldBeyond

Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer. The Oculus SDK and other supporting material is subject to the Oculus proprietary license. Multiple licenses may apply.
MIT License
321 stars 88 forks source link

Gradle Build Failed #9

Closed ClariceHilton closed 1 year ago

ClariceHilton commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

I have deleted this file and it now builds. Howeber now I get an error that I need to do room setup. I have done the room set up and it works with the official release of the app.

On Wed, 11 Jan 2023 at 10:01, PanyaMeta @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/oculus-samples/Unity-TheWorldBeyond/issues/9#issuecomment-1378502511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHABY6QWXQIPAY7YGLFRKLWR2AHRANCNFSM6AAAAAATXCXH7U . You are receiving this because you authored the thread.Message ID: @.***>

--

Clarice Hilton @Clarice_Hilton

PanyaMeta commented 1 year ago

Thanks for checking. It sounds like you're running into this issue then? https://github.com/oculus-samples/Unity-TheWorldBeyond/issues/7

ClariceHilton commented 1 year ago

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