0 returned getting id of a resource when using a Library project
===

I am facing problems getting the id of a resource by name when using a library project:

    int resId = context.getResources().getIdentifier("myresname", "drawable", "net.iberdroid.mygamecore");

It seems like this always returns 0 when using the project as a library, but it were working flawlessly while it was an standalone project.

net.iberdroid.mygamecore is where those resources resides, and in fact they are there.

That code is even executed within the library project package, not from the android project that links it.

Any ideas?
