luojiandan

error:call to OpenGL ES API with no current context

Discussion created by luojiandan on Jul 15, 2013
Latest reply on Jul 16, 2013 by luojiandan
I import the simplest project "HelloWorld", it runs well, but when exit prompted the following error??
call to OpenGL ES API with no current context
My ArcGIS For AndRoid SDK Version??10.1.1201301161115

Code:
       @Override
 protected void onDestroy() {
  // TODO Auto-generated method stub
  super.onDestroy();
  mMapView.recycle();  //Releases the resources referenced by the MapView so that they can be recycled.
 }


 @Override
 protected void onPause() {
  super.onPause();
  mMapView.pause();
 }



 @Override
 protected void onResume() {
  super.onResume(); 
  mMapView.unpause();
 } 

    I add onDestroy function.
    So what's wrong with my project?

Outcomes