[mono-android] package R does not exist

digitalml matthew.lebo at stationcasinos.com
Tue Jan 17 01:42:30 UTC 2012


The resource I'm trying to get an ID for is an xml file located in the .Net
Resouces/raw folder.  I tried this in the .java file to no avail.  

int resourceID = getResources().getIdentifier("xmlFileName", "raw",
".Net.Package.Path");

Note: I've substituted the values in getIdentifier() with fake ones to
protect the identity of my product; however, I have verified that the
package path is the correct .net one.

Thanks
DML

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/package-R-does-not-exist-tp5150315p5150368.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list