Crosslight 5 Android ViewSliderSamples

9 replies. Last post: March 18, 2016 1:40 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Testing the sample on my Motorola E2 API21 I encountered the following errors:

- ItemRepository: Line 54: Missing CultureInfo.InvariantCulture -> App crashes in none US cultures
I reported this bug like 2 years ago and it seams you are not able to fix this in your samples.

- Clicking through all the pages (sometimes more than one time / slide show pages seem critical) I receive at some point the following error:
02-14 15:37:12.021 E/AndroidRuntime( 5695): FATAL EXCEPTION: main
02-14 15:37:12.021 E/AndroidRuntime( 5695): Process: ViewSliderSamples.Android.Material, PID: 5695
02-14 15:37:12.021 E/AndroidRuntime( 5695): java.lang.OutOfMemoryError: Failed to allocate a 1654572 byte allocation with 507732 free bytes and 495KB until OOM
02-14 15:37:12.021 E/AndroidRuntime( 5695): at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.graphics.Bitmap.nativeCreate(Native Method)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.graphics.Bitmap.createBitmap(Bitmap.java:843)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.graphics.Bitmap.createBitmap(Bitmap.java:820)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.graphics.Bitmap.createBitmap(Bitmap.java:787)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.TransitionUtils.createViewBitmap(TransitionUtils.java:134)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.TransitionUtils.copyViewImage(TransitionUtils.java:100)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.Visibility.onDisappear(Visibility.java:378)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.Visibility.createAnimator(Visibility.java:247)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.Transition.createAnimators(Transition.java:723)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.TransitionSet.createAnimators(TransitionSet.java:405)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.Transition.playTransition(Transition.java:1761)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.transition.TransitionManager$MultiListener.onPreDraw(TransitionManager.java:298)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1986)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1077)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5884)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.Choreographer.doFrame(Choreographer.java:550)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.os.Handler.handleCallback(Handler.java:739)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.os.Handler.dispatchMessage(Handler.java:95)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.os.Looper.loop(Looper.java:135)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at android.app.ActivityThread.main(ActivityThread.java:5310)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at java.lang.reflect.Method.invoke(Native Method)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at java.lang.reflect.Method.invoke(Method.java:372)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
02-14 15:37:12.021 E/AndroidRuntime( 5695): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
02-14 15:37:17.954 I/art ( 5695): Clamp target GC heap from 103MB to 96MB
Thread finished: <Thread Pool> #13
The thread 'Unknown' (0xd) has exited with code 0 (0x0).

- Slide Show: There are sometimes only white pages with no image

Please fix until RTM.

All times are GMT -5. The time now is 8:23 AM.
Previous Next