title: Try Catch in Android native library fails
body: <p>When I perform a throw command in my native library, my Android application crashes. Does Android not support these calls? It never reaches the catch.</p>
  
  <pre><code>try
  {
      __android_log_print(ANDROID_LOG_ERROR, "nativeLib", "throw");
      throw;
  }
  catch (...) {
      __android_log_print(ANDROID_LOG_ERROR, "nativeLib", "catch");
  }
  </code></pre>
  
  <p>I recently switched from gnustl_shared to c++_shared, I'm not sure if this has anything to do with my problem.</p>
  
  <p>Developer guides say that gnustl_shared has exceptions enabled by default, but c++_shared does not. I have included the -fexceptions flag as describe in the guide.
  <a href="https://developer.android.com/ndk/guides/cpp-support.html" rel="nofollow noreferrer">https://developer.android.com/ndk/guides/cpp-support.html</a></p>