c# - Xamarin Android Crash on Start "Got a SIGSEGV" -
i have xamarin forms app, i'm going publish app, found bug, meets on old(2.3.7 , 4.0.4) xperia devices or emulators, app crashes soons clicked on app icon in menu, here see in output:
06-10 12:46:18.344 e/mono-rt ( 2885): stacktrace: 06-10 12:46:18.344 e/mono-rt ( 2885): 06-10 12:46:18.344 e/mono-rt ( 2885): @ <unknown> <0xffffffff> 06-10 12:46:18.344 e/mono-rt ( 2885): @ (wrapper managed-to-native) object.wrapper_native_0x8235c890 (intptr,intptr,string,string) <il 0x00054, 0xffffffff> 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.getmethodid (intptr,string,string) [0x00042] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.g.cs:158 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.createinstance (intptr,string,android.runtime.jvalue*) [0x00000] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.cs:377 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.createinstance (system.type,string,android.runtime.jvalue*) [0x00007] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.cs:411 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.startcreateinstance (system.type,string,android.runtime.jvalue*) [0x00011] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.cs:320 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.startcreateinstance (system.type,string,android.runtime.jvalue[]) [0x0001d] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.cs:326 06-10 12:46:18.344 e/mono-rt ( 2885): @ java.lang.object..ctor () [0x0001c] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/java.lang/object.cs:72 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.uncaughtexceptionhandler..ctor (java.lang.thread/iuncaughtexceptionhandler) [0x00000] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/uncaughtexceptionhandler.cs:28 06-10 12:46:18.344 e/mono-rt ( 2885): @ android.runtime.jnienv.initialize (android.runtime.jnienvinitializeargs*) [0x002f4] in /users/builder/data/lanes/monodroid-mavericks-monodroid-5.1-series/d419c934/source/monodroid/src/mono.android/src/runtime/jnienv.cs:245 06-10 12:46:18.344 e/mono-rt ( 2885): @ (wrapper runtime-invoke) <module>.runtime_invoke_void_intptr (object,intptr,intptr,intptr) <il 0x00060, 0xffffffff> 06-10 12:46:18.344 e/mono-rt ( 2885): 06-10 12:46:18.344 e/mono-rt ( 2885): attempting native android stacktrace: 06-10 12:46:18.344 e/mono-rt ( 2885): 06-10 12:46:18.344 e/mono-rt ( 2885): not unwind `libunwind.so`: cannot load library: load_library[1109]: library '/data/data/com.telohranitel24/lib/libunwind.so' not found 06-10 12:46:18.344 e/mono-rt ( 2885): not unwind `libcorkscrew.so`: cannot load library: load_library[1109]: library '/data/data/com.telohranitel24/lib/libcorkscrew.so' not found 06-10 12:46:18.344 e/mono-rt ( 2885): 06-10 12:46:18.344 e/mono-rt ( 2885): no options left native stacktrace :-( 06-10 12:46:18.344 e/mono-rt ( 2885): 06-10 12:46:18.344 e/mono-rt ( 2885): ================================================================= 06-10 12:46:18.344 e/mono-rt ( 2885): got sigsegv while executing native code. indicates 06-10 12:46:18.344 e/mono-rt ( 2885): fatal error in mono runtime or 1 of native libraries 06-10 12:46:18.344 e/mono-rt ( 2885): used application. 06-10 12:46:18.344 e/mono-rt ( 2885): ================================================================= 06-10 12:46:18.344 e/mono-rt ( 2885):
i have no idea why happens, ideas helpful, please!
while xamarin supports api levels of android, xamarin.forms support api level 15+ should set minimum sdk 15. here our documentation:
this means xamarin.forms supports 94% of android devices: https://developer.android.com/about/dashboards/index.html?utm_source=suzunone
Comments
Post a Comment