you are overriding findViewById
, remove these lines from code on first screen/Java code (always paste code and stacktrace as text!)
public void findViewById(int z1){
}
as you see findViewById
is always void
… this method belongs to Activity
and you shouldn’t mess with them. it work like a charm and will return you proper View
. doc here
2
solved Error:(45, 36) error: cannot find symbol method findViewbyId(int)