First of all, orientation. Despite my config.lua specifying landscape, and the app displaying in landscape just fine on Windows, it still shows as portrait on Android. Am I missing something besides this code:
orientation =
{
default = “landscapeLeft”,
supported =
{
“landscapeLeft”,
“landscapeRight”
}
}
Another problem is a local object showing as nil on Android but gets processed just fine on Windows. The code looks like this:
local cat = display.newImage(“cat.png”, 800, 800 )
cat:scale(.25,.25)
In the simulator and in the Windows build, the cat is shown scaled properly. But on Android I get “Runtime Error” “attempt to index local ‘cat’ (a nil value)” as shown in the attached picture.
All help/ideas are appreciated.
