Crosslight 5 Android API < 21

14 replies. Last post: June 14, 2016 2:22 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hello Crosslight Support,

I just made some quick tests on Android devices with API level < 21.

Installing the material UI sample on my Samsung Tablet API 19 worked. After playing around with the sample it crashed. I think it is the grid view or the loading of the images into the grid view which cause the crash. See application output:

[mono-rt] Got a SIGSEGV while executing native code. This usually indicates
[mono-rt] a fatal error in the mono runtime or one of the native libraries
[mono-rt] used by your application.

[Mono] GC_OLD_BRIDGE num-objects 2079 num_hash_entries 4047 sccs size 3757 init 0.00ms df1 6.78ms sort 1.15ms dfs2 4.10ms setup-cb 1.12ms free-data 2.80ms links 3634/3634/24601/109 dfs passes 9760/7391
[Mono] GC_MINOR: (Nursery full) pause 26.49ms, total 26.65ms, bridge 0.00ms promoted 2064K major 2064K los 38249K
[dalvikvm-heap] Clamp target GC heap from 72.294MB to 64.000MB
[dalvikvm-heap] Forcing collection of SoftReferences for 1190403-byte allocation
[dalvikvm-heap] Clamp target GC heap from 74.294MB to 64.000MB
[dalvikvm-heap] Out of memory on a 1190403-byte allocation.
[mono-rt] Stacktrace:
[mono-rt]
[mono-rt] at <unknown> <0xffffffff>
[mono-rt] at (wrapper managed-to-native) object.wrapper_native_0x41c66c15 (intptr,intptr,int,int,byte[]) <IL 0x0003d, 0xffffffff>
[mono-rt] at (wrapper delegate-invoke) <Module>.invoke_void_intptr_intptr_int_int_byte[] (intptr,intptr,int,int,byte[]) <IL 0x00083, 0xffffffff>
[mono-rt] at Android.Runtime.JNIEnv.CopyArray (byte[],intptr) [0x00011] in /Users/builder/data/lanes/2692/e98e9627/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:2156
[mono-rt] at Android.Runtime.JNIEnv.NewArray (byte[]) [0x00024] in /Users/builder/data/lanes/2692/e98e9627/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1954
[mono-rt] at Android.Graphics.BitmapFactory.DecodeByteArray (byte[],int,int,Android.Graphics.BitmapFactory/Options) [0x0002d] in /Users/builder/data/lanes/2692/e98e9627/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Graphics.BitmapFactory.cs:566
[mono-rt] at Intersoft.Crosslight.Android.BitmapUtility.DecodeSampledBitmap (object,int,int,Android.Content.Res.Resources) <IL 0x00031, 0x00257>
[mono-rt] at Intersoft.Crosslight.Android.BitmapUtility.DecodeSampledBitmapFromByteArray (byte[],int,int) <IL 0x00007, 0x0007f>
[mono-rt] at Intersoft.Crosslight.Android.BitmapUtility.LoadAndResizeBitmap (byte[],int,int) <IL 0x00003, 0x0005b>
[mono-rt] at Intersoft.Crosslight.Android.ImageLoaderTask.CreateDrawable (Android.Widget.ImageView,byte[],bool,bool) <IL 0x0000d, 0x000c7>
[mono-rt] at Intersoft.Crosslight.Android.ImageLoaderTask.DoInBackground (Java.Lang.Object[]) <IL 0x0008d, 0x00683>
[mono-rt] at Android.OS.AsyncTask.n_DoInBackground_arrayLjava_lang_Object_ (intptr,intptr,intptr) [0x00020] in /Users/builder/data/lanes/2692/e98e9627/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.OS.AsyncTask.cs:218
[mono-rt] at (wrapper dynamic-method) object.3b343073-77d4-40e6-b565-7b720f75dcea (intptr,intptr,intptr) <IL 0x00017, 0x00047>
[mono-rt] at (wrapper native-to-managed) object.3b343073-77d4-40e6-b565-7b720f75dcea (intptr,intptr,intptr) <IL 0x00029, 0xffffffff>

Installing the sample on my Samsung phone API 17 failed. The app crashed right after showing the splash screen. There is no error message or application output.

I though that your implementation of the material UI supports devices with API 15 and above. Am I wrong?

Thanks,

Thomas

All times are GMT -5. The time now is 11:09 PM.
Previous Next