<?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: How to Fix: android/arcgis unfortunately &amp;lt;app&amp;gt; has stopped in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667855#M4633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently upgraded the phone to Android 6.0.1 (Marshmallow).&amp;nbsp; It's been a while since i have upgraded the tablet.&amp;nbsp; It is still at KitKat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 14:06:01 GMT</pubDate>
    <dc:creator>ScottBing</dc:creator>
    <dc:date>2016-07-08T14:06:01Z</dc:date>
    <item>
      <title>How to Fix: android/arcgis unfortunately &lt;app&gt; has stopped</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667851#M4629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Hi, I am a newbie to combining ArcGIS with Android. I am attempting to execute one of the ArcGIS example mapping programs. It is a simple Map Display program. It executes successfully using a Nexus6 emulator On Android 6.0.1 (Marshmallow) using Android Studio 2.1.2. When I port it to the actual device, a SAMSUNG-SM-G920V Galaxy s6, it fails immediately with the message: “Unfortunately &amp;lt;app&amp;gt; has stopped. This happens immediately when I press its icon on the phone. I have successfully executed other Android non-ArcGIS mapping applications on this same phone without any issues. These were all developed using Android Studio, not Eclipse.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;I have registered the application with ESRI Developer Licensing and provided the ‘Client_ID” in my code.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;I have spent hours combing through Google trying various suggestions without any success.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;I wasn't sure how to format code on your forum, so I attached my application files to this discussion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 19:48:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667851#M4629</guid>
      <dc:creator>ScottBing</dc:creator>
      <dc:date>2016-07-05T19:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix: android/arcgis unfortunately &lt;app&gt; has stopped</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667852#M4630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your MainActivity.java, it looks as though you are setting the client id twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once on line 8 and then again on line 11.&amp;nbsp; Do you get any output when it crashes in LogCat?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try removing line 8 entirely and just set the client id on line 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, would you try changing your target api version to that of 22 in your app build.gradle file?&amp;nbsp; This would avoid any gotchas with runtime permissions and possibly any errors that may exist with the newer Android versions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more interesting point:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you uninstall the existing app on the emulator and redeploy to that emulator, does the issue persist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 14:08:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667852#M4630</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2016-07-06T14:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix: android/arcgis unfortunately &lt;app&gt; has stopped</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667853#M4631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I lowered the target API from 24 to 21 and the minimum API to 15.&amp;nbsp; This seems to be the magic combination.&amp;nbsp; The application executed successfully on a Samsung phone and an HP Touchpad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 13:42:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667853#M4631</guid>
      <dc:creator>ScottBing</dc:creator>
      <dc:date>2016-07-07T13:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix: android/arcgis unfortunately &lt;app&gt; has stopped</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667854#M4632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is interesting.&amp;nbsp; What version of Android are the phone and touchpad running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 13:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667854#M4632</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2016-07-07T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Fix: android/arcgis unfortunately &lt;app&gt; has stopped</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667855#M4633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently upgraded the phone to Android 6.0.1 (Marshmallow).&amp;nbsp; It's been a while since i have upgraded the tablet.&amp;nbsp; It is still at KitKat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 14:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-to-fix-android-arcgis-unfortunately-lt-app-gt/m-p/667855#M4633</guid>
      <dc:creator>ScottBing</dc:creator>
      <dc:date>2016-07-08T14:06:01Z</dc:date>
    </item>
  </channel>
</rss>

