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-examples error: Failed to resolve: nd4j-native-1.0.0-SNAPSHOT-android-x86 #1017

Open
PascalPolygon opened this issue Jan 12, 2021 · 1 comment

Comments

@PascalPolygon
Copy link

PascalPolygon commented Jan 12, 2021

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?

@QueeneTam
Copy link

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?

Have you solved this problem?

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