deeplearning4j / deeplearning4j/deeplearning4j-examples

android-examples error: Failed to resolve: nd4j-native-1.0.0-SNAPSHOT-android-x86

Open
#1,017 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.5k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I cloned the android-example from https://github.com/deeplearning4j/deeplearning4j-examples/tree/master/android-examples.
But whenever I attempt to build the project in Android Studio I get the following error:

`Failed to resolve: nd4j-native-1.0.0-SNAPSHOT-android-x86`

I tried running the following commands:
`mvn dependency:get -DremoteRepositories=snapshots::::https://oss.sonatype.org/content/repositories/snapshots -Dartifact=org.nd4j:nd4j-native:1.0.0-SNAPSHOT:jar:android-arm`

`mvn dependency:get -DremoteRepositories=snapshots::::https://oss.sonatype.org/content/repositories/snapshots -Dartifact=org.nd4j:nd4j-native:1.0.0-SNAPSHOT:jar:android-arm64`

`mvn dependency:get -DremoteRepositories=snapshots::::https://oss.sonatype.org/content/repositories/snapshots -Dartifact=org.nd4j:nd4j-native:1.0.0-SNAPSHOT:jar:android-x86`

`mvn dependency:get -DremoteRepositories=snapshots::::https://oss.sonatype.org/content/repositories/snapshots -Dartifact=org.nd4j:nd4j-native:1.0.0-SNAPSHOT:jar:android-x86_64`

But I get the following build failure:

`[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.029 s
[INFO] Finished at: 2021-01-12T13:18:49-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Missing:
[ERROR] ----------
[ERROR] 1) org.nd4j:nd4j-native:jar:android-x86:1.0.0-SNAPSHOT
`

I tried manually downloading the file from the website, but I can't find `nd4j-native-1.0.0-20210111.050200-20853-android-arm.jar` anywhere here: https://oss.sonatype.org/content/repositories/snapshots/org/nd4j/nd4j-native/1.0.0-SNAPSHOT/

How can I get the example to build?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.