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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -