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

NoSuchMethodError: android.view.View.generateViewId #325

Closed
Blankeer opened this issue Jul 2, 2016 · 3 comments
Closed

NoSuchMethodError: android.view.View.generateViewId #325

Blankeer opened this issue Jul 2, 2016 · 3 comments

Comments

@Blankeer
Copy link

Blankeer commented Jul 2, 2016

FATAL EXCEPTION: main
java.lang.NoSuchMethodError: android.view.View.generateViewId
at kale.ui.view.BottomTabGroup$PassThroughHierarchyChangeListener.onChildViewAdded(BottomTabGroup.java:279)
at android.view.ViewGroup.onViewAdded(ViewGroup.java:3359)
at android.view.ViewGroup.addViewInner(ViewGroup.java:3473)
at android.view.ViewGroup.addView(ViewGroup.java:3298)

This error in android 4.1.9,api 16.
Thanks.

@xizzhu
Copy link
Contributor

xizzhu commented Jul 14, 2016

What's the BottomTabGroup class? Seems it's not part of the BottomBar lib?

@ericsuwardi90
Copy link

As far as i know, generateViewId only available on API level 17 and above, you can check on this link for reference

http://stackoverflow.com/questions/6790623/programmatic-views-how-to-set-unique-ids

@Blankeer
Copy link
Author

Sorry I was wrong,it's nothing to do with BottomBar lib,Thank you for your reply.Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants