AnsweredAssumed Answered

Offline Editor Sync Method doesn’t allow to Sync only required layers in the code

Question asked by RajeshMane on Aug 26, 2014
Latest reply on Sep 3, 2014 by RajeshMane

We are working on ArcGIS Android APIs for Offline Editor application , Which downloads the data in and synchronizes the same data in online mode. As per API ,In Sync module(SyncGeodatabaseParamsà LayerSyncInfo) there are certain options which allows layers to be  ignored during the sync. We have observed API given by ESRI, doesn’t allow compile the below mentioned function(indirect reference Issue). Hence Sync method fails to upload the data which is captured in offline mode.


Following url gives APIs reference for Sync Model


Code Snippet implemented for excluding layers from Sync operation

SyncGeodatabaseParameters syncParams = geodatabase.getSyncParameters(); syncParams.setSyncLayers(new LayerSyncInfos()); (This Line is not getting compiled and getting following error also shown in snapshot)


The type com.esri.core.internal.tasks.f cannot be resolved. It is indirectly referenced from required .class files



The similar issue also raised in ESRI forum but seems to be unresolved (Below link).  Since it vital requirement very crucial for mobile app , please suggest any alternative approach or resolution of this bug from the product support.


Resolution tried from our side:

·         We have re-loaded 10.2.3 JAR files from Java Build path but resulted in same issue.