Android plugin with resources

Trying to use resources from the drawable folder in a unity plugin:

I created the Assets\Plugins\Android and put my code jar + android manifest all is good.

  1. I put the resources in Assets\res\drawable is this the correct path?
  2. I try to access the resources with code:

int resource_id = getResources().getIdentifier(“loader.xml”, “drawable”,getPackageName());

But it always give id of 0 it seems like it dont see the resources. Any idea why?

Everything else work fine

I guess the the correct path is “Assets\Plugins\Android\res\drawable”.