<?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: App Crash : Failed to load OpenGLES in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/app-crash-failed-to-load-opengles/m-p/1536167#M473</link>
    <description>&lt;P&gt;after upgrading sdk version to &lt;STRONG&gt;200.5&lt;/STRONG&gt; I didnt face this issue.&lt;/P&gt;&lt;PRE&gt;implementation(platform(&lt;SPAN&gt;"com.esri:arcgis-maps-kotlin-toolkit-bom:200.5.0"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Sep 2024 07:15:41 GMT</pubDate>
    <dc:creator>PrashantGaykar</dc:creator>
    <dc:date>2024-09-07T07:15:41Z</dc:date>
    <item>
      <title>App Crash : Failed to load OpenGLES</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/app-crash-failed-to-load-opengles/m-p/1535494#M471</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to show a &lt;STRONG&gt;list of map view&lt;/STRONG&gt; with some details in jetpack compose.&lt;/P&gt;&lt;P&gt;for that I am using new Kotlin Maps SDK with following dependencies&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;implementation(platform(&lt;SPAN&gt;"com.esri:arcgis-maps-kotlin-toolkit-bom:200.4.0"&lt;/SPAN&gt;))&lt;BR /&gt;implementation(&lt;SPAN&gt;"com.esri:arcgis-maps-kotlin-toolkit-geoview-compose"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;Map View is loading successfully in each list item but when I keep scrolling up and down continuously, it leads to app crash with following error trace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;com.arcgismaps.exceptions.ArcGISExceptionImpl: message=Internal error., additionalMessage=Failed to load OpenGLES, errorCode=18
at com.arcgismaps.exceptions.ArcGISException$Companion.create$arcgis_maps_kotlin_release(ArcGISException.kt:86)
at com.arcgismaps.internal.ErrorFactoryKt.convertToPublic(ErrorFactory.kt:111)
at com.arcgismaps.internal.ErrorFactory.createThrowableFromCoreError(ErrorFactory.kt:59)
at com.arcgismaps.internal.jni.CoreGeoView.nativeDraw(Native Method)
at com.arcgismaps.internal.jni.CoreGeoView.draw(CoreGeoView.java:345)
at com.arcgismaps.mapping.view.GeoView.draw(GeoView.kt:1060)
at com.arcgismaps.mapping.view.GeoView.access$draw(GeoView.kt:100)
at com.arcgismaps.mapping.view.GeoView$RenderingThread.draw(GeoView.kt:1585)
at com.arcgismaps.mapping.view.MapView._init_$lambda$2(MapView.kt:492)
at com.arcgismaps.mapping.view.MapView.$r8$lambda$AhbjJf96hMEBchn4L_38b_w2LPM(Unknown Source:0)
at com.arcgismaps.mapping.view.MapView$$ExternalSyntheticLambda2.drawRequested(Unknown Source:2)
at com.arcgismaps.internal.jni.CoreGeoView.onDrawRequested(CoreGeoView.java:521)
at com.arcgismaps.internal.jni.CoreGeoView.nativePulse(Native Method)
at com.arcgismaps.internal.jni.CoreGeoView.pulse(CoreGeoView.java:651)
at com.arcgismaps.mapping.view.GeoView.pulse(GeoView.kt:1107)
at com.arcgismaps.mapping.view.GeoView.access$pulse(GeoView.kt:100)
at com.arcgismaps.mapping.view.GeoView$RenderingThread.doFrame(GeoView.kt:1939)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1403)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1413)
at android.view.Choreographer.doCallbacks(Choreographer.java:1040)
at android.view.Choreographer.doFrame(Choreographer.java:920)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1388)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at com.arcgismaps.mapping.view.GeoView$RenderingThread.run(GeoView.kt:1665)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following MapItem composable is used to display as Map in list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="kotlin"&gt;import com.arcgismaps.toolkit.geoviewcompose.MapView
import com.arcgismaps.mapping.ArcGISMap

@Composable
fun MapItem(modifier: Modifier = Modifier) {
val map = remember {
 ArcGISMap(BasemapStyle.ArcGISImagery)
}
 MapView(
modifier = modifier.fillMaxSize(),
arcGISMap = map
)
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Kindly help me with this issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 14:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/app-crash-failed-to-load-opengles/m-p/1535494#M471</guid>
      <dc:creator>PrashantGaykar</dc:creator>
      <dc:date>2024-09-05T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: App Crash : Failed to load OpenGLES</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/app-crash-failed-to-load-opengles/m-p/1536167#M473</link>
      <description>&lt;P&gt;after upgrading sdk version to &lt;STRONG&gt;200.5&lt;/STRONG&gt; I didnt face this issue.&lt;/P&gt;&lt;PRE&gt;implementation(platform(&lt;SPAN&gt;"com.esri:arcgis-maps-kotlin-toolkit-bom:200.5.0"&lt;/SPAN&gt;))&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Sep 2024 07:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/app-crash-failed-to-load-opengles/m-p/1536167#M473</guid>
      <dc:creator>PrashantGaykar</dc:creator>
      <dc:date>2024-09-07T07:15:41Z</dc:date>
    </item>
  </channel>
</rss>

