<?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: Unable to view MMPK in Android after cloud make in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838802#M2491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MMPK is bundled with the app. Some of the code used from offline MMPK sample:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;dataPath&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;AppFramework&lt;/SPAN&gt;.userHomeFolder.filePath(&lt;SPAN style="color: #008000;"&gt;"ArcGIS/AppStudio/Data"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;inputdata&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"Blyfstaan.mmpk"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;outputdata&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataPath&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"/"&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;inputdata&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2018 20:55:20 GMT</pubDate>
    <dc:creator>MervynLotter</dc:creator>
    <dc:date>2018-02-22T20:55:20Z</dc:date>
    <item>
      <title>Unable to view MMPK in Android after cloud make</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838800#M2489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to piece together an app from samples and tutorials. The app runs perfectly in AppStudio for ArcGIS and in my AppStudio Player on Android. But when I actually build the app and create both an APK and EXE file for windows,&amp;nbsp; it seems as if the MMPK no longer loads in the APK app. However if I install the exe file on Windows, then the mmpk loads perfectly with the app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below image shows the app unable to load the mmpk after creating the apk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/397180_App error from build.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below screenshot is from the AppStudio player with the mmpk loading perfectly. Same experience on Windows with built app.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/397247_App working in AppStudio.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced something similar and have any advice for me to try and troubleshoot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I check whether MMPK was included with APK installation - then that would point to the code not loading the app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been able to build other MMPK-based apps that load perfectly on android, but with very limited functionality. So no problem with the app building process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:43:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838800#M2489</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2018-02-22T20:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view MMPK in Android after cloud make</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838801#M2490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First two things I would check are that the MMPK actually did make it onto the android device (i.e. is it bundled with the app, or downloaded by the app?), and what path/url have you used. Maybe android isn't resolving the path to the mmpk properly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838801#M2490</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-02-22T20:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view MMPK in Android after cloud make</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838802#M2491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MMPK is bundled with the app. Some of the code used from offline MMPK sample:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;dataPath&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;AppFramework&lt;/SPAN&gt;.userHomeFolder.filePath(&lt;SPAN style="color: #008000;"&gt;"ArcGIS/AppStudio/Data"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;inputdata&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"Blyfstaan.mmpk"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;string&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;outputdata&lt;/SPAN&gt;:&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;dataPath&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #008000;"&gt;"/"&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;+&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;inputdata&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 20:55:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838802#M2491</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2018-02-22T20:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view MMPK in Android after cloud make</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838803#M2492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please double check if you have enabled&amp;nbsp; the external storage (capability from App Settings )in your app? This is required for Android device and not really for windows device. The player already has this enabled by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also test your mmpk by adding it to the Open Mobile Map mmpk sample and make sure it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 22:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838803#M2492</guid>
      <dc:creator>nakulmanocha</dc:creator>
      <dc:date>2018-02-22T22:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to view MMPK in Android after cloud make</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838804#M2493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nakul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was that I had not activated the external storage capability. Thank you so much for picking that up! Much appreciated.&amp;nbsp; Working perfectly now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul, thank you for your help too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:31:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/unable-to-view-mmpk-in-android-after-cloud-make/m-p/838804#M2493</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2018-02-23T10:31:28Z</dc:date>
    </item>
  </channel>
</rss>

