Caused by: java.lang.ArithmeticException: divide by zero at com.github.xch168.ndkdemo.MainActivity.exceptionMethod(MainActivity.java:28) at com.github.xch168.ndkdemo.MainActivity.invokeNativeMethod(Native Method) at com.github.xch168.ndkdemo.MainActivity.onCreate(MainActivity.java:24) ... com.github.xch168.ndkdemo I/native-lib: Run to here!!!
java.lang.ArithmeticException: divide by zero at com.github.xch168.ndkdemo.MainActivity.exceptionMethod(MainActivity.java:28) at com.github.xch168.ndkdemo.MainActivity.invokeNativeMethod(Native Method) at com.github.xch168.ndkdemo.MainActivity.onCreate(MainActivity.java:24) ... Caused by: java.lang.Exception: JNI抛出的异常 at com.github.xch168.ndkdemo.MainActivity.invokeNativeMethod(Native Method) at com.github.xch168.ndkdemo.MainActivity.onCreate(MainActivity.java:24) at android.app.Activity.performCreate(Activity.java:7130)