android-demo-app
android-demo-app copied to clipboard
Unable to find 'org.pytorch:pytorch_android:1.8.0-SNAPSHOT'
I find that 'org.pytorch:pytorch_android:1.8.0-SNAPSHOT' was deleted in https://oss.sonatype.org/#nexus-search;quick~pytorch_android,and there are compiling failure of other versions or APP flashback.
I got the same issue.
`Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Could not find org.pytorch:pytorch_android:1.8.0-SNAPSHOT. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/pytorch/pytorch_android/1.8.0-SNAPSHOT/maven-metadata.xml - https://dl.google.com/dl/android/maven2/org/pytorch/pytorch_android/1.8.0-SNAPSHOT/pytorch_android-1.8.0-SNAPSHOT.pom - https://jcenter.bintray.com/org/pytorch/pytorch_android/1.8.0-SNAPSHOT/maven-metadata.xml - https://jcenter.bintray.com/org/pytorch/pytorch_android/1.8.0-SNAPSHOT/pytorch_android-1.8.0-SNAPSHOT.pom Required by: project :app Could not find org.pytorch:pytorch_android_torchvision:1.8.0-SNAPSHOT. Searched in the following locations: - https://dl.google.com/dl/android/maven2/org/pytorch/pytorch_android_torchvision/1.8.0-SNAPSHOT/maven-metadata.xml - https://dl.google.com/dl/android/maven2/org/pytorch/pytorch_android_torchvision/1.8.0-SNAPSHOT/pytorch_android_torchvision-1.8.0-SNAPSHOT.pom - https://jcenter.bintray.com/org/pytorch/pytorch_android_torchvision/1.8.0-SNAPSHOT/maven-metadata.xml - https://jcenter.bintray.com/org/pytorch/pytorch_android_torchvision/1.8.0-SNAPSHOT/pytorch_android_torchvision-1.8.0-SNAPSHOT.pom Required by: project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
`
Thanks and this has been fixed by using the latest 1.9.0.