java.lang.IllegalStateException: Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by xybCoder
, 1 year ago
Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
via GitHub by yogurtearl
, 2 months ago
Required view 'bar' with ID 213143234 for field 'foo' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
via GitHub by pg301
, 8 months ago
Required view 'button_menu' with ID 2131624118 for field 'menuButton' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
via GitHub by HimanshuS01
, 10 months ago
Required view 'date' with ID 2131624073 for field 'dates' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
via Stack Overflow by sayres kabir
, 9 months ago
Required view 'editText_add_url' with ID 2131558531 for field 'editTextAddURL' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
via Stack Overflow by Kir
, 3 months ago
Required view 'reviewSerialFrag_DrawerLayout' with ID 2131690017 for field 'reviewSerialFrag_DrawerLayout' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
java.lang.IllegalStateException: Required view 'bottomBar' with ID 2131558568 for field 'mBottomBar' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
at butterknife.internal.Utils.findRequiredView(Utils.java:138)
at com.wanguqu.app.ui.activity.MainActivity_ViewBinding.(MainActivity_ViewBinding.java:21)
at java.lang.reflect.Constructor.newInstance(Native Method)

Users with the same issue

6 times, 10 months ago
7 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.