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

NoSuchFieldError #6

Closed
lionelatrecisio opened this issue Jul 1, 2016 · 2 comments
Closed

NoSuchFieldError #6

lionelatrecisio opened this issue Jul 1, 2016 · 2 comments

Comments

@lionelatrecisio
Copy link

lionelatrecisio commented Jul 1, 2016

Hello,

I try the very first example :
new BottomDialog.Builder(context)
.setTitle("Awesome!")
.setContent("What can we improve? Your feedback is always welcome.")
.show();

And I've got a NoSuchFieldError : java.lang.NoSuchFieldError: No static field bottomDialog_icon of type I in class Lcom/github/javiersantos/bottomdialogs/R$id; or its superclasses
at com.github.javiersantos.bottomdialogs.BottomDialog.initBottomDialog(BottomDialog.java:49)
at com.github.javiersantos.bottomdialogs.BottomDialog.(BottomDialog.java:29)
at com.github.javiersantos.bottomdialogs.BottomDialog$Builder.build(BottomDialog.java:221)
at com.github.javiersantos.bottomdialogs.BottomDialog$Builder.show(BottomDialog.java:226)

Can you help me to fix this error?

Thanks!

@lionelatrecisio
Copy link
Author

Oh, never mind
I've just a file named exactly bottom_dialog.xml in my project...
Thank you for your job!

javiersantos added a commit that referenced this issue Jul 2, 2016
@javiersantos
Copy link
Owner

I've renamed the library layout to avoid similar cases. Thank you @lionelatrecisio!

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

2 participants