<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to create replica in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666798#M4622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My error happens inside:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; (geodatabaseSyncTask.getLoadStatus() == LoadStatus.FAILED_TO_LOAD) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dealWithException(geodatabaseSyncTask.getLoadError()); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE" title="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE"&gt;Sync offline edits—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp; (method&amp;nbsp;&lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;createGeodatabaseSyncTask()&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've tried to execute the method &lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;generateGeodatabaseParameters()&amp;nbsp;&lt;/SPAN&gt;before&amp;nbsp;&lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;createGeodatabaseSyncTask()&lt;/SPAN&gt;&amp;nbsp;but I've got a excpetion with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: Feature service is not loaded, it needs to be loaded before passed into the sync task.&lt;BR /&gt;Message: Invalid access range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2017 20:09:12 GMT</pubDate>
    <dc:creator>PedroFrancisco_de_Sousa_Neto</dc:creator>
    <dc:date>2017-05-31T20:09:12Z</dc:date>
    <item>
      <title>Failed to create replica</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666796#M4620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm following this&amp;nbsp;steps to sync a database,&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE" title="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE"&gt;Sync offline edits—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;I can't realize where I need to put the parameters [1] on android code [2]. And I think that I'm getting error on ArcGIS log because&amp;nbsp;I'm not&amp;nbsp;using this parameters right [3].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How&amp;nbsp;can I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See prints in attachment, please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 14:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666796#M4620</guid>
      <dc:creator>PedroFrancisco_de_Sousa_Neto</dc:creator>
      <dc:date>2017-05-31T14:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create replica</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666797#M4621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Placing that info in the headers of the request configuration will not get you the output you seek as this would modify every header that you send to ArcGIS Online. &amp;nbsp;Instead, I encourage you to look at the GenerateGeodatabaseParameters since this will allow you to modify the arguments through class methods:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/geodatabase/GenerateGeodatabaseParameters.html" title="https://developers.arcgis.com/android/latest/api-reference/reference/com/esri/arcgisruntime/tasks/geodatabase/GenerateGeodatabaseParameters.html"&gt;GenerateGeodatabaseParameters| arcgis-android&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 14:46:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666797#M4621</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-05-31T14:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to create replica</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666798#M4622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My error happens inside:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #aa0d91;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt; (geodatabaseSyncTask.getLoadStatus() == LoadStatus.FAILED_TO_LOAD) { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;dealWithException(geodatabaseSyncTask.getLoadError()); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;from&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE" title="https://developers.arcgis.com/android/latest/guide/sync-offline-edits.htm#ESRI_SECTION1_4A3252B90DE54ED09C6E6B79D423F9DE"&gt;Sync offline edits—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp; (method&amp;nbsp;&lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;createGeodatabaseSyncTask()&lt;SPAN style="color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I've tried to execute the method &lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;generateGeodatabaseParameters()&amp;nbsp;&lt;/SPAN&gt;before&amp;nbsp;&lt;SPAN style="color: #1c00cf; background-color: #f8f8f8;"&gt;createGeodatabaseSyncTask()&lt;/SPAN&gt;&amp;nbsp;but I've got a excpetion with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: Feature service is not loaded, it needs to be loaded before passed into the sync task.&lt;BR /&gt;Message: Invalid access range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 20:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/failed-to-create-replica/m-p/666798#M4622</guid>
      <dc:creator>PedroFrancisco_de_Sousa_Neto</dc:creator>
      <dc:date>2017-05-31T20:09:12Z</dc:date>
    </item>
  </channel>
</rss>

