Location of Java library resources

I have my own java library which is included with my corona enterprise project, 

I need to know where to put resources required by the library, raw (wav files) and drawable (png files),
I started with them in /android/plugin/src/main/res/raw/ & /android/plugin/src/main/res/drawable/
but get runtime error java.lang.NoClassDefFoundError:failed resolution of:Lcom/myproject/mylibrary/R$raw;

Found nothing in the documentation or forums that jumps out at me, also tried other locations by educated guess and pot luck without success 

The app/library runs fine on device with the requirement for resources removed.

Any help would be most appreciated

Scott

I’d be interested to hear a response to this, have a similar problem.

Thought the answer should be straight forward

I still haven’t found a solution to this issue

@RobMiracle could you point me to the appropriate document/web page detailing where resources for java library should go?

Thanks

Instead of ‘/android/plugin/…’ try putting them in ‘android/ app /…’

Thanks for the reply ingemar_cl

I’ve tried putting the files in android/app/res/drawable & android/app/res/raw but still getting the same runtime error 

Is there any other location to try or is it that this is the correct location and Ive got some configuration/coding issue?

It’s a bit strange as Android Studio should copy any resources to the final APK that are put into android/app/…

I’d be interested to hear a response to this, have a similar problem.

Thought the answer should be straight forward

I still haven’t found a solution to this issue

@RobMiracle could you point me to the appropriate document/web page detailing where resources for java library should go?

Thanks

Instead of ‘/android/plugin/…’ try putting them in ‘android/ app /…’

Thanks for the reply ingemar_cl

I’ve tried putting the files in android/app/res/drawable & android/app/res/raw but still getting the same runtime error 

Is there any other location to try or is it that this is the correct location and Ive got some configuration/coding issue?

It’s a bit strange as Android Studio should copy any resources to the final APK that are put into android/app/…