<?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: Android SDK 100.6 - Issue loading maps in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83445#M628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was the tablet I was using to debug the application (Android 4.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the map loading with an Android 8.1 device and it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Dec 2019 07:19:19 GMT</pubDate>
    <dc:creator>OscarDiago_Alonso</dc:creator>
    <dc:date>2019-12-05T07:19:19Z</dc:date>
    <item>
      <title>Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83438#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm migrating an old android application to the Android SDK 100.6. I am having a lot of trouble to display a map. I always get a blank screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the examples I have found have the MapView in an Activity. In my application, the MapView is in a Fragment, but I don't think that is the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My XML:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;lt;com.esri.arcgisruntime.mapping.view.MapView
        android:id="@+id/map"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&amp;gt;
&amp;lt;/com.esri.arcgisruntime.mapping.view.MapView&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;My Fragment:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; View &lt;SPAN class="token function"&gt;onCreateView&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LayoutInflater inflater&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ViewGroup container&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
			Bundle savedInstanceState&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;

		myFragmentView &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; inflater&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;inflate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;R&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layout&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;home_view_tab_my_statistics&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
				container&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token boolean"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

		mMapView &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MapView&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; myFragmentView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;findViewById&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;R&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;id&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
		ArcGISMap map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ArcGISMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"https://www.arcgis.com/home/webmap/viewer.html?webmap=65087932bac7461892b0d31f563a8c4d"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

		map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;addLoadStatusChangedListener&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;LoadStatusChangedListener&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
			@Override
			&lt;SPAN class="keyword token"&gt;public&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;loadStatusChanged&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LoadStatusChangedEvent loadStatusChangedEvent&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
				String mapLoadStatus&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				mapLoadStatus &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; loadStatusChangedEvent&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getNewLoadStatus&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;name&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="comment token"&gt;// map load status can be any of LOADING, FAILED_TO_LOAD, NOT_LOADED or LOADED&lt;/SPAN&gt;

				&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapLoadStatus &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"LOADED"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
					mMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setViewpoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Viewpoint&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;Constants&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MAP_DEFAULT_ENVELOPE_HOME&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
				&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
			&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
		&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
   mMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

		
   &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; myFragmentView&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The first mapLoadStatus is "LOADING", but the next one is always "FAILED_TO_LOAD".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using a webmap URL, I have tried with a map I have found in the ESRI Documentation; but the result is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Basemap&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Type basemapType &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Basemap&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Type&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;STREETS_VECTOR&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; latitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;34.09042&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;double&lt;/SPAN&gt; longitude &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;118.71511&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; levelOfDetail &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;11&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
ArcGISMap map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ArcGISMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;basemapType&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; latitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; longitude&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; levelOfDetail&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I am doing wrong? I'm stuck with this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help provided!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83438#M621</guid>
      <dc:creator>OscarDiago_Alonso</dc:creator>
      <dc:date>2021-12-10T23:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83439#M622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple possible things to make sure of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you requested internet permissions in the AndroidManifest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the Portal API and with it the DefaultAuthenticationChallengeHandler in case there are credential issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, take a look at the load errors in an else after you check if LOADED.&amp;nbsp;Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;} else {&lt;BR /&gt; String error = "Portal item failed to load: " + portalItem.getLoadError().getMessage();&lt;BR /&gt; Toast.makeText(this, error, Toast.LENGTH_LONG).show();&lt;BR /&gt; Log.e(TAG, error);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-android/blob/52cedff0fd5bfc404ee358e53b6ac9fb8e2eb87b/java/open-existing-map/src/main/java/com/esri/arcgisruntime/sample/openexistingmap/MainActivity.java"&gt;This sample&lt;/A&gt; might help with using&amp;nbsp;Webmaps and the Portal API&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 17:31:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83439#M622</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-12-02T17:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83440#M623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My AndroidManifest already has that permission and the map I'm trying to use is 100% public. It worked OK with the 10.2.8 SDK (yes, I'm facing a huge leap forward in SDK versions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about using the Portal API. The map is stored in ArcGIS Online (I guess it could be the same). The following implementaion would be correct for my map?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.arcgis.com/home/webmap/viewer.html?webmap=65087932bac7461892b0d31f563a8c4d" title="https://www.arcgis.com/home/webmap/viewer.html?webmap=65087932bac7461892b0d31f563a8c4d" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.arcgis.com/home/webmap/viewer.html?webmap=65087932bac7461892b0d31f563a8c4d&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;Portal portal &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Portal&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"http://www.arcgis.com"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍

PortalItem mapPortalItem &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;PortalItem&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;portal&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"65087932bac7461892b0d31f563a8c4d"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

ArcGISMap map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ArcGISMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mapPortalItem&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could the build configuration be related with my issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;android {
    compileSdkVersion 19
    buildToolsVersion '28.0.3'

    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 19
    }

    compileOptions {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }
}

dependencies {
    api project(':showcase')
    implementation 'com.android.support:multidex:1.0.3'
    implementation 'com.esri.arcgisruntime:arcgis-android:100.6.0'
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83440#M623</guid>
      <dc:creator>OscarDiago_Alonso</dc:creator>
      <dc:date>2021-12-10T23:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83441#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Oscar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the portal api looks right to me and I can get the map to load with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView &lt;/SPAN&gt;= (MapView) findViewById(R.id.&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// create a map with the BasemapType topographic
&lt;/SPAN&gt;Portal portal = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Portal(&lt;SPAN style="color: #6a8759;"&gt;"http://www.arcgis.com"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;PortalItem portalItem = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;PortalItem(portal&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"65087932bac7461892b0d31f563a8c4d"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;ArcGISMap map = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ArcGISMap(portalItem)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// set the map to be displayed in this view
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.setMap(map)&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you getting any load errors from the portal or the map?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one thing that looks odd to me in the build config is that you're targeting and compiling for such a narrow range of Android API. Are you sure your device is Android 19&amp;nbsp;or should you broaden the SDK version to say target 28 and compile 28 (leave the min as it is)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83441#M624</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-10T23:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83442#M625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the error I get with the steps you have described:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;javax.net.ssl.SSLException: SSL handshake aborted: 
ssl=0x66396aa8: I/O error during system call, Connection reset by peer‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand what it means...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83442#M625</guid>
      <dc:creator>OscarDiago_Alonso</dc:creator>
      <dc:date>2021-12-10T23:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83443#M626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Oscar, I'd need to see more of the code--maybe make sure you're using a secure version of the portal link?&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; border: 0px; font-size: 9pt;"&gt;Portal portal = &lt;SPAN style="color: #cc7832; border: 0px; font-weight: inherit; font-size: 12px;"&gt;new &lt;/SPAN&gt;Portal(&lt;SPAN style="color: #6a8759; border: 0px; font-weight: inherit; font-size: 12px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;"&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.arcgis.com" rel="nofollow" style="color: #287433; border: 0px; font-weight: inherit; text-decoration: none; font-size: 12px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.arcgis.com&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 12px;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832; border: 0px; font-weight: inherit; font-size: 12px;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;The code above works on my device (API 29)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 15:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83443#M626</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-12-03T15:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83444#M627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help! I already tried that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The class doesn't have much else, except a couple of buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try compiling the code with a newer Android version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 16:31:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83444#M627</guid>
      <dc:creator>OscarDiago_Alonso</dc:creator>
      <dc:date>2019-12-03T16:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Android SDK 100.6 - Issue loading maps</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83445#M628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem was the tablet I was using to debug the application (Android 4.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the map loading with an Android 8.1 device and it is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 07:19:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/android-sdk-100-6-issue-loading-maps/m-p/83445#M628</guid>
      <dc:creator>OscarDiago_Alonso</dc:creator>
      <dc:date>2019-12-05T07:19:19Z</dc:date>
    </item>
  </channel>
</rss>

