After upgrading to appcompat 25.1.0
I've started getting weird errors.
In my code:
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
I get lint error:
AppCompatActivity.onCreate can only be called from within the same library group (groupId=com.android.support)
How to prevent such behavior?
invalidateOptionsMenu()
withsupportInvalidateOptionsMenu()
. it should do the job – Paba