Android plugin loading resources problem

Hi!
I’m trying to implement android audio plugin for Unity in order to avoid high latency when playing back sounds.
In order to load and play songs i use SoundPool Java class. The main problem is, that i’m unable to load any kind of sounds, because of occuring errors in logcat while deploying app on device.

Here is Java code of loading method

public void loadSound ()
    {
        soundId = load(mContext, mContext.getResources().getIdentifier("menubutton", "raw", mContext.getPackageName()), 1);
    }

mContext is Context received from class, that extends UnityPlayerActivity.

By invoking loadSound() method from Unity the following error occurs:

I’ve tried a lot of variations of getting resource Id, but all of them were unsuccessful.

Maybe somebody of you has already faced such problem, so i’ll be glad to get some help in solving it.
Thanks!

UPDATE: PROBLEM SOLVED

Well … how did you solve it? :slight_smile:

I also face this problem about Android Plugin Development and Intelgain technology company helps me to solve this problem.