Android id error -


i new android , having same problem every time something. whenever put line line in of codes gives me error in "id". error says, "id cannot resolved or not field."

what doing wrong?

myimageview = (imageview)findviewbyid(r.id.imageview); 

the build wrong. try cleaning.

in eclipse:

project->clean...

aso, make sure r referring r , not android r.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -