Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash: MiscUtils.dpToPixel #276

Closed
jonasborggren opened this issue Jun 7, 2016 · 2 comments
Closed

Crash: MiscUtils.dpToPixel #276

jonasborggren opened this issue Jun 7, 2016 · 2 comments
Labels

Comments

@jonasborggren
Copy link

jonasborggren commented Jun 7, 2016

I get an error on HTC Desire 310 running Android 4.2.2 (not mine, a user)

Fatal Exception: java.lang.NoSuchFieldError: android.util.DisplayMetrics.densityDpi
       at com.roughike.bottombar.MiscUtils.dpToPixel(MiscUtils.java:60)
       at com.roughike.bottombar.BottomBar.init(BottomBar.java:877)
       at com.roughike.bottombar.BottomBar.<init>(BottomBar.java:849)
       at com.roughike.bottombar.BottomBar.attach(BottomBar.java:141)
       ....
@roughike roughike added the bug label Jun 7, 2016
@roughike
Copy link
Owner

roughike commented Jun 7, 2016

Thanks. Will fix ASAP.

@roughike
Copy link
Owner

roughike commented Jun 7, 2016

Should be now fixed in version 1.3.7.

@roughike roughike closed this as completed Jun 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants