[Solved] Android onClickListener NullPointerException


blankTile = (ImageView) findViewById(R.drawable.blank); 

you can not use R.drawable to retrieve items. You have to use R.id

10

solved Android onClickListener NullPointerException