Android Studio Java classes dont seemed linked to layout files -


i having issue can not link layout files java classes. importing code know worked project, , moved source code , associated layout xml files other project. (copy , paste)

is way link them back>

here example:

setcontentview(r.layout.activity_camera_protocol_demo); 

it can not resolve activity_camera_protocol_demo.

is fix this?

it text views , buttons ect on layout file.

go build --> rebuild project. solved me problems had.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -