Android Sample, OfflineEditor, Error Sync(Error in uploading Changes)

5047
12
02-21-2015 02:51 PM
NabeelAdnan
New Contributor

Hello,

I am using offline editor sample for android, it working fine, but once i did any change and touch the Sync button to sync back(upload) my changes i faced the following Error

GDBUtil﹕ com.esri.core.io.EsriServiceException: Error in uploading item part ife0ef5ed-d728-4727-a9d9-a450d8147846

            at com.esri.core.internal.io.handler.c.a(SourceFile:613)

            at com.esri.core.internal.io.handler.h.a(SourceFile:288)

            at com.esri.core.internal.tasks.ags.aq.a(SourceFile:129)

            at com.esri.core.internal.tasks.ags.aq.a(SourceFile:56)

            at com.esri.core.internal.tasks.ags.aq.execute(SourceFile:35)

            at com.esri.core.internal.tasks.a.call(SourceFile:88)

            at com.esri.core.tasks.geodatabase.GeodatabaseSyncTask.submitUploadForSyncJobInternal(SourceFile:693)

            at com.esri.core.tasks.geodatabase.GeodatabaseSyncTask.access$1000(SourceFile:60)

            at com.esri.core.tasks.geodatabase.GeodatabaseSyncTask$2.call(SourceFile:290)

            at com.esri.core.tasks.geodatabase.GeodatabaseSyncTask$2.call(SourceFile:258)

            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)

            at java.util.concurrent.FutureTask.run(FutureTask.java:137)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)

            at java.lang.Thread.run(Thread.java:856)

anyone has any idea how to come over this?

thank you in advance.

0 Kudos
12 Replies
Bryant_JamesLanuza
New Contributor

Hi All,

     I am also the same problem above using Android Studio, but if I'm using Eclipse its working. 

Is there any way how to fix it using Android Studio.

Thanks and advance.

0 Kudos
Bryant_JamesLanuza
New Contributor

Hi all,

    Sync is working if I'm using old library "arcgis-android-api.jar",  to change path file dependency.dependencies.PNG

Old library "arcgis-android-api.jar" highlight yellow.jar.PNG

0 Kudos
DanO_Neill
Occasional Contributor III

Nabeel Adnan​ This is a known issue with respect to the SDK distribution provided through Bintray maven repository.  This fix is already in the 10.2.5 local libraries as Bryant James Lanuza​ mentioned above.  This will be addressed in the next minor release of the Android SDK, 10.2.6, such that you can continue to work with the artifacts through our bintray maven repo.

0 Kudos