Android SDK tutorial. Exception
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2016 05:20 AM
Hello! I am newbie in Alfresco. I read this article http://docs.alfresco.com/mobile_sdk/android/tasks/create-sdk-app.html and try to make the first android app. Unfortunately, i have this exception:
The problem is not related to internet access to Alfresco (I have some experience with android development 😃 Permission is correct, Mobile device has internet connection). I try to compile application with another chemistry-opencmis-android-client.
My device and programs:
Eclipse Mars
Alfresco Community - 5.1.0 (r115432-b1)
Windows 8.1
JDK 1.7
Virtual android 4.4
Redmi 3 with Cyanogenmod 12.1 (Android 5.1)
Please help. Sorry for my bad English!
========Added======================
My url string:
When I change to:
I get:
Code in MainActivity.java is CTRL+V CTRL+C from tutorial.
05-12 05:03:10.150: E/ConnectToRepo(1590): Failed to connect: org.alfresco.mobile.android.api.exceptions.AlfrescoSessionException: org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Not Found
The problem is not related to internet access to Alfresco (I have some experience with android development 😃 Permission is correct, Mobile device has internet connection). I try to compile application with another chemistry-opencmis-android-client.
My device and programs:
Eclipse Mars
Alfresco Community - 5.1.0 (r115432-b1)
Windows 8.1
JDK 1.7
Virtual android 4.4
Redmi 3 with Cyanogenmod 12.1 (Android 5.1)
Please help. Sorry for my bad English!
========Added======================
My url string:
String url = "http://env-1224977.jelastic.regruhosting.ru/alfresco";
When I change to:
String url = "http://env-1224977.jelastic.regruhosting.ru/alfresco/cmisatom";
I get:
05-12 13:46:38.676: E/ConnectToRepo(31106): Failed to connect: org.alfresco.mobile.android.api.exceptions.AlfrescoSessionException:org.apache.chemistry.opencmis.commons.exceptions.CmisNotSupportedException: Method Not Allowed
Code in MainActivity.java is CTRL+V CTRL+C from tutorial.
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2016 12:11 PM
Promblem has solved. I compiled sdk from source and it Word!
