Skip to content

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

Open
@PascalPolygon

Description

@PascalPolygon

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions