question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash on Android 9.0

See original GitHub issue

Hi there,

Great library. I wasn’t having any issues with the library until I updated targetSdkVersion to 28 and starting experiencing crashes. I am not quite sure the issue is related to that but that is the only change I made. Here is the crash log.

java.lang.IllegalArgumentException: Cannot set 'scaleX' to Float.NaN at android.view.View.sanitizeFloatPropertyValue(View.java:15425) at android.view.View.sanitizeFloatPropertyValue(View.java:15399) at android.view.View.setScaleX(View.java:14788) at android.view.View$12.setValue(View.java:25650) at android.view.View$12.setValue(View.java:25647) at android.animation.PropertyValuesHolder$FloatPropertyValuesHolder.setAnimatedValue(PropertyValuesHolder.java:1379) at android.animation.ObjectAnimator.animateValue(ObjectAnimator.java:990) at android.animation.ValueAnimator.setCurrentFraction(ValueAnimator.java:674) at android.animation.ValueAnimator.setCurrentPlayTime(ValueAnimator.java:637) at android.animation.ValueAnimator.start(ValueAnimator.java:1069) at android.animation.ValueAnimator.start(ValueAnimator.java:1088) at android.animation.ObjectAnimator.start(ObjectAnimator.java:852) at android.animation.ValueAnimator.startWithoutPulsing(ValueAnimator.java:1081) at android.animation.AnimatorSet.handleAnimationEvents(AnimatorSet.java:1142) at android.animation.AnimatorSet.startAnimation(AnimatorSet.java:1227) at android.animation.AnimatorSet.start(AnimatorSet.java:729) at android.animation.AnimatorSet.startWithoutPulsing(AnimatorSet.java:689) at android.animation.AnimatorSet.handleAnimationEvents(AnimatorSet.java:1142) at android.animation.AnimatorSet.startAnimation(AnimatorSet.java:1227) at android.animation.AnimatorSet.start(AnimatorSet.java:729) at android.animation.AnimatorSet.start(AnimatorSet.java:684) at com.itsronald.widget.ViewPagerIndicator$PageListener.onPageSelected(ViewPagerIndicator.java:581) at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1947) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:665) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:631) at android.support.v4.view.ViewPager.onRestoreInstanceState(ViewPager.java:1462) at android.view.View.dispatchRestoreInstanceState(View.java:18608) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3821) at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3827) at android.view.View.restoreHierarchyState(View.java:18586) at android.support.v4.app.Fragment.restoreViewState(Fragment.java:494) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1486) at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852) at android.support.v4.app.BackStackRecord.executePopOps(BackStackRecord.java:860) at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2622) at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411) at android.support.v4.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2273) at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:733) at android.os.Handler.handleCallback(Handler.java:873) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

thanks in advance.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ergindogancommented, Oct 9, 2018

Unfortunately I switched to another library. If that is an option for you, you can try this alternative.

0reactions
robinkanatzarcommented, Apr 9, 2019

I seem to be running into the same problem… Anyone know if there has been any movement on this issue? I ended up changing to the library here: https://github.com/tommybuonomo/dotsindicator

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mobile App crashes when using phone with Android 9.0
When using a phone running android 9.0 (such as Pixel 2 or Pixel XL), the RE Mobile App will not load and immediately...
Read more >
Android 9.0.9 - Google app crash - OnePlus Community
There is a bug associated with Parallel apps, that cause Google app to crash at opening, still no solution to it!
Read more >
Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >
Why does this code only crash on 9.0 Pie? - android
Reduce the allocated ram size of pixel 2 xl emulator and increase its internal space by going inside adv manager then restart the...
Read more >
Android 9.0 x86 apps keep crashing - no native bridge
I think you have installed Android x86 on NTFS file system try with other Android x86 old more stable version like Android x86...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found