Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
09/23/13 12:41 PM (12 years ago)

Menu with Image Again Missing the headerImageContainer constant

I thought that this was a thing of past. The error in the Menu with Image plugin was not present for several days or weeks. I downloaded the code the day before yesterday and it worked OK. Today I downloaded it again for a new version of the app and the error appeared again. It appears that the constant headerImageContainer is not present in R.java, so a syntax error is present at line 207 (I think) in WB_screenMenuImage.java. This is the same error that was present when the 2.1.9 of self-hosted appeared. I am on self-hosted panel, using the old version for Android. Any thoughts?
 
Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
like
09/23/13 12:48 PM (12 years ago)
Having the same issue. I submitted a message on here to the developer of the plugin. It looks like one of the three xml layout files are missing. The name is screen_menulistsimple.xml It was present in the old code. I used the one from the old code but it's different. Hope to get this resolved quick, I just started using this and love it.
 
Dusko
Veteran developer
Profile
Posts: 998
Reg: Oct 13, 2012
Beograd
22,680
like
09/23/13 01:24 PM (12 years ago)
You gave me an idea. I went to the control panel of self hosted and prepared the project download checking all of the plugins, even if they were not needed. I downloaded the project into Eclipse and voila! it compiled without problems. It seems that this problem appears only when you do not download all the plugins -- the constant is probably being erroneously defined in some other layout file, so when you do not download it, Eclipse misses it and complains. This still needs improving, but I can live with this intermediate solution.
 
Intrege
Veteran developer
Profile
Posts: 196
Reg: Sep 12, 2011
Philadelphia, P...
3,160
like
09/23/13 04:07 PM (12 years ago)
Thanks man
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.