Select to view content in your preferred language

Loading a .mmpk file - base map not showing up

08-11-2023 05:33 PM
Labels (2)
New Contributor II

I've created a .mmpk file which contains 4 polygons on a topographic map. When I open it up in ArcGIS Pro, it looks great. On Android, the polygons show up, the map does not, and I get the following:

ArcGIS Maps SDK: Load Error: ArcGISTiledLayer
hostname nor servname provided, or not known (

I think I somehow have to embed the map in the mmpk file, but I don't see anyway to do that in ArcGIS Pro. Can someone please help me out?

2 Replies
Esri Frequent Contributor

Whether to embed/include the basemap within the mmpk is typically a choice you make based on your scenario/workflow and if users will have internet connectivity on their devices in the field. For more info see Offline maps, scenes, and data | ArcGIS Maps SDK for .NET | ArcGIS Developers.

In terms of the error above, it indicates that your app cannot connect to the internet - some questions / things to investigate:

  • Are you testing on an Android emulator or on a physical Android device?
  • Can that environment access other internet content?
  • What permissions have you requested/enabled in the Android manifest file for your app?
0 Kudos
Esri Regular Contributor

If you want to work with the content offline you may find this blog about using Esri basemap in Mobile Map Packages useful.

0 Kudos