error: No resource identifier found for attribute ‘onClick’ in package ‘android’


I got this error from the xml layout for a ImageButton. I was using api 3 which apparently does not support this attribute. Simply going to api 4 resolved this problem.

Leave a Reply

Your email address will not be published. Required fields are marked *