Android Build cannot require module in subdirectory

I have a code that works fine in the simulator. But when I build it for Android and then try out the APK on a phone then I get the runtime error saying it cannot find the fille.
Is there any step or setting that needs to be done to make sure the require on subdirectories can work?

Ok, was able to figure it out. I had a typo in require. Did:


instead of:


So it worked in the simulator but failed in the build deployment.