When attempting to compile my Xamarin.Android app I get the compile error:
Error 3 The file \"obj\\Debug\\android\\bin\\packaged_resources\" does no
In my case the error was caused because I set the version number in the manifest to 1.0. Apparently the version number must be an integer.
I just lost 7 hours of my day.. You know what I did?
Project.Droid -> Resources -> RightClick on the Resource.Designer.cs -> Delete
I did fu****n' works ! ><
EDIT
Omg it did comes back... Why does Windows has all time so much of bugs... seriously..
had the same issue. This was because i had an .png file that had a "-" character in it's name. Just enusure any of your resources don't have the "-" hyphen character
Had the same problem. My error was in the manifest: I had Version Code (Version number) set at "1.0.0" and it wasn't allowed. It only takes integers so I had to revert to "1".
I mixed up Version Code and Version Name.
Not sure if this is a late answer, but this specific error message occurs for one of the two reasons:
(Most probably the case): In your layout file, you may have mentioned a resource (drawable/image) incorrectly. For example, the image was in the mipmap
folder path but you have pointed it wrongly to the drawable
folder path.
Per many comments, there could be a hyphen or special character in one your resources' names or it starts with a number. However, please note, in this specific case, you will mostly see a aapt.exe has stopped
or appt.exe has exited with error code 1
error. I am not sure if you will get obj\Debug\android\bin\packaged_resources not found
error. My experience says that point 1 above is the case.
Basically the problem is with special character of Resource FILE NAME. In my case, I am keep getting error "The file "obj\Debug\android\bin\packaged_resources" does not exist.":
..\Resources\drawable\company-app-log.png having -(hyphen) between alpha characters is the root-cause of the issue.