AnsweredAssumed Answered

Could not find org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.0.

Question asked by maher.megadmini on Apr 13, 2015
Latest reply on Apr 14, 2015 by jm.pascal
Hi

I have an error while compiling the project with android studio and it's the same when compilling with commande line.

android studio message :
Error:(44, 13) Failed to resolve: org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.0
Error:(28, 13) Failed to resolve: com.samsung.android:sdk:1.0.0
Error:(27, 13) Failed to resolve: com.samsung.android.sdk:pen:1.0.2

This is the log for CLI when running sudo ./gradlew assembleCustomRelease

………………..
Download https://jcenter.bintray.com/com/squareup/okhttp/okhttp/1.5.2/okhttp-1.5.2.jar
Download https://jcenter.bintray.com/com/mattprecious/telescope/telescope/1.3.0/telescope-1.3.0.aar
Download https://jcenter.bintray.com/com/jmpergar/AwesomeText/1.0.0/AwesomeText-1.0.0.aar

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project ':alfresco-mobile-android'.

A problem occurred configuring project ':platform:foundation'.
Could not resolve all dependencies for configuration ':platform:foundation:_releaseCompile'.
Could not find org.alfresco.mobile.android.sdk:alfresco-mobile-android-client-api:1.4.0.
Searched in the following locations:
file:/root/.m2/repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
file:/root/.m2/repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
https://jcenter.bintray.com/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
https://jcenter.bintray.com/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
https://repo1.maven.org/maven2/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
https://repo1.maven.org/maven2/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
file:/media/maher/workspace/adt-bundle-linux-x86_64-20140702/sdk/extras/android/m2repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
file:/media/maher/workspace/adt-bundle-linux-x86_64-20140702/sdk/extras/android/m2repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
file:/media/maher/workspace/adt-bundle-linux-x86_64-20140702/sdk/extras/google/m2repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.pom
file:/media/maher/workspace/adt-bundle-linux-x86_64-20140702/sdk/extras/google/m2repository/org/alfresco/mobile/android/sdk/alfresco-mobile-android-client-api/1.4.0/alfresco-mobile-android-client-api-1.4.0.jar
Required by:
alfresco-android-app-master.platform:foundation:unspecified
Try:
Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output.

BUILD FAILED

Total time: 4 mins 35.026 secs

Outcomes