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

Android build job is failing #4186

Closed
NicolasHug opened this issue Jul 16, 2021 · 0 comments · Fixed by #4202
Closed

Android build job is failing #4186

NicolasHug opened this issue Jul 16, 2021 · 0 comments · Fixed by #4202

Comments

@NicolasHug
Copy link
Member

NicolasHug commented Jul 16, 2021

The android build job is failing with:

2021-07-16T08:46:31.505+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2021-07-16T08:46:31.509+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not determine the dependencies of task ':test_app:lintVitalFrcnnMnetv3BaseLocalRelease'.
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all artifacts for configuration ':test_app:frcnnMnetv3CameraLocalDebugCompileClasspath'.
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > Could not find org.pytorch:pytorch_android:1.9.0-SNAPSHOT.
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]      Required by:
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]          project :test_app
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > Could not find org.pytorch:pytorch_android_torchvision:1.9.0-SNAPSHOT.
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]      Required by:
2021-07-16T08:46:31.510+0000 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]          project :test_app

Perhaps we should update this line?

https://github.com/pytorch/vision/blob/d993ce568576306168d24ee597fefa3d8ba40998/android/build.gradle#L18:L18

Or perhaps something's wrong with the upstream pytorch mobile builds?

@IvanKobzarev since you authored #3679, would you mind taking a look? Thanks!!

cc @seemethere

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

Successfully merging a pull request may close this issue.

1 participant