Common problem I\'m sure, but I can\'t figure it out. In my AndroidManifest.xml and main.xml I\'m getting the no resource found that matches the given name. I\'ve double c
Yet another Googlemare Landmine....
I solved this same problem today: Somehow, if you mess up, the icon line on your .gen file dies. (Empirical proof of mine after struggling 2 hours)
Insert a new icon 72x72 icon on the hdpi folder with a different name from the original, and update the name on the manifest also.
The icon somehow resurrects on the Gen file and voila!! time to move on.
I think the issue is that you have
android:prompt="@string/level_array"
and you don't have any string with the id, to refer to the array, you need to use @array
test this or put a screen of your log please
If you are an iPhone Developer don't just add your picture (by right clicking then add file...like we do in iPhone). You have to copy and paste the picture in your drawable folder.
I actually has this problem once with a path issue referring another project :
I had this in my default.properties:
android.library.reference.1=..\\MyProject_Core\\
Which I fixed like this:
android.library.reference.1=../MyProject_Core/
My colleague created the above with Windows but only the version below worked on my Mac.
This problem appeared for me due to an error in an XML layout file. By changing @id/meid
to @+id/meid
(note the plus), I got it to work. If not, sometimes you just gotta go to Project -> Clean...
I had the same issue and tried most of the solutions mentioned above and they did not fix it..
At then end, I went to my .csproj
file and viewed it in the text editor, I found that my xml file that I put in the /Drawable
was not set to be AndroidResouces
it was just of type Content
.
Changing that to be of type AndroidResouces
fixed the issue for me.