I built a pop.xml file in android project layout, in mainActivity in LayoutInflater.from (this) inflate (R.layout pop , null.).; given, the file can not be found pop.xml why, but I import pictures in the project, R.drawable.xxx not get that picture, online methods are tried, like clean, fix Project useless, how to solve?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
eclise then there is a Build Automatically, the compiler can automatically select the Project menu.
Reply:
I've checked, or useless
Reply:
I added in activity_main.xml in a control, save in mainActivity which can not be initialized, R does not increase the file ID, have a big head
Reply:
Engineering mistake about it
Reply:
amount, no error can run, but can not add controls, you can use the original controls

Reply:
@ Guoyoulei520 I think it is not a configuration problem, and now I have this other project situation.
Reply:
You are not R references android.R? ?
Reply:
you are not R references android.R? ?
Reply:
Because the computer for a re-build environment for development. This issue should be no solution, and I intend to reload, this thank you
No comments:
Post a Comment