Ambigous method call. Both findViewById(int) in AppCompatActivity and findViewById(int) in Activity match.
Opened this issue · 1 comments
abigaillafay commented
When I add implementation 'com.github.HITGIF:TextFieldBoxes:1.4.4' to dependencies in build.graddle (app), in every "findViewById(R.id.main_toolbar)" has an error:
Ambigous method call. Both findViewById(int) in AppCompatActivity and findViewById(int) in Activity match.
Thank you for your help!
HITGIF commented
Please check this thread and see if any answer help resolves your issue:
https://stackoverflow.com/questions/46900261/error-ambiguous-method-call-both-findviewbyid-int-in-appcompactactivity-and