<?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: java.lang.RuntimeException: createContext failed: EGL_SUCCESS in Esri India Questions</title>
    <link>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564774#M165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.esri.com/migrated-users/2483"&gt;Gary Sheppard&lt;/A&gt;‌ for providing the details regard the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been observed that&amp;nbsp;few handset of Vivo (Vivo 1902) running Android P (API:28) are also having same problem. Is it possible to&amp;nbsp;do any setting changes in the device and make the application with arcgis android sdk work.&lt;/P&gt;&lt;P&gt;Currently my application is having arcgis android sdk version: 100.6.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice any possible solution since my application is in production and many of my Vivo and OPPO handset user are facing this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2019 05:37:50 GMT</pubDate>
    <dc:creator>VTSVTS</dc:creator>
    <dc:date>2019-12-31T05:37:50Z</dc:date>
    <item>
      <title>java.lang.RuntimeException: createContext failed: EGL_SUCCESS</title>
      <link>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564772#M163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error occurs when map activity i called.&lt;/P&gt;&lt;P&gt;xml code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;com.esri.arcgisruntime.mapping.view.MapView
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;android&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;:id&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="@+id/map"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;mapoptions.MapType&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="Streets"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;android&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;:layout_width&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="fill_parent"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;android&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;:layout_height&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="fill_parent"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;mapoptions.ZoomLevel&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="16"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;mapoptions.center&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="19.2190, 72.6701"
&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;android&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: bold;"&gt;:layout_centerInParent&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;="true" &lt;/SPAN&gt;/&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: createContext failed: EGL_SUCCESS&lt;BR /&gt; at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1230)&lt;BR /&gt; at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1221)&lt;BR /&gt; at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1071)&lt;BR /&gt; at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1437)&lt;BR /&gt; at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1278)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Android Device : OPPO A5s&lt;/P&gt;&lt;P&gt;Model: CPH1909&lt;/P&gt;&lt;P&gt;Android Version: 8.1.0&lt;/P&gt;&lt;P&gt;ColorOS Version: CPH190-9EX_11A_26&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 00:20:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564772#M163</guid>
      <dc:creator>VTSVTS</dc:creator>
      <dc:date>2021-12-12T00:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.RuntimeException: createContext failed: EGL_SUCCESS</title>
      <link>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564773#M164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question has been asked and answered previously at the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/186730"&gt;Error createContext failed: EGL_SUCCESS when under Android 4.2.2 application is started&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;This is a known issue for this release that has not found its way into the release notes yet, we will update the release notes soon.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;The issue is that some devices do not correctly report their OpenGL configurations to allow us to create our OpenGL context. We need to be specific in creating the OpenGL context to allow many of our map rendering features to work properly (particularly for things like Vector Tiled Layers). We have implemented a solution which works on most devices, but it will still be problematic on some, especially older devices running older versions of Android.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Please try on another device or the emulator.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 22:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564773#M164</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-12-11T22:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: java.lang.RuntimeException: createContext failed: EGL_SUCCESS</title>
      <link>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564774#M165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.esri.com/migrated-users/2483"&gt;Gary Sheppard&lt;/A&gt;‌ for providing the details regard the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has been observed that&amp;nbsp;few handset of Vivo (Vivo 1902) running Android P (API:28) are also having same problem. Is it possible to&amp;nbsp;do any setting changes in the device and make the application with arcgis android sdk work.&lt;/P&gt;&lt;P&gt;Currently my application is having arcgis android sdk version: 100.6.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice any possible solution since my application is in production and many of my Vivo and OPPO handset user are facing this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2019 05:37:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-india-questions/java-lang-runtimeexception-createcontext-failed/m-p/564774#M165</guid>
      <dc:creator>VTSVTS</dc:creator>
      <dc:date>2019-12-31T05:37:50Z</dc:date>
    </item>
  </channel>
</rss>

