My game is running perfectly on the simulator, but when I install and open it on my phone, i get a Runtime Error:
“module ‘scenes.menu’ not found:resource(scenes.menu.lu) does not exist in archive
no field package.preload[‘scenes.menu’]…”
I divided my code into several scenes with composer and put the scene file in a folder in the project folder.
Here are my build settings:
settings =
{
orientation =
{
default = "portrait",
supported = { "portrait" },
},
android =
{
usesPermissions =
{
"android.permission.INTERNET",
"android.permission.WRITE_EXTERNAL_STORAGE",
},
},
}
Does anyone know why I get this error?