Everything in group = self.view is INVISIBLE when on device, but works fine in simulator!

Hello,

I’m using storyboard (I know its outdated), and its working great in the simulator.  When I put it on my android phone, however, I run into a serious problem - nothing in the self.view group displays.  If I don’t put it in that group, or put it in a different group, it shows up just fine.  Does anyone have any idea why such strange behavior might be occuring (I know it’s not a lowercase-uppercase issue because the same file disappears or appears just by adding it to the group or not). 

Thanks for the help in advance!

Have you run adb logcat Corona:v *:s to see if it is throwing an error on the device? Also how are you using the self.view are you setting a local group = self.view and if so is it local group = self.view or group = self.view with local group = nil at the top of your file etc. and so forth or is it global?

Hard to say anything else without seeing the code that self.view is being built ie: in create, show etc. and so forth.

This is how it gets started

function scene:createScene( event )        local group = self.view

are you accessing the group variable outside of the create function?

If so remove the local and goto the top of your file and say

local group = nil

And try that

I used the log and saw that there was an error with my use of an iphone-only library. I commented out that code and now its working!  Unfortunately I’m getting  the same issue in the main scene now, but I’ve got an idea where to go now.  Thanks!

Have you run adb logcat Corona:v *:s to see if it is throwing an error on the device? Also how are you using the self.view are you setting a local group = self.view and if so is it local group = self.view or group = self.view with local group = nil at the top of your file etc. and so forth or is it global?

Hard to say anything else without seeing the code that self.view is being built ie: in create, show etc. and so forth.

This is how it gets started

function scene:createScene( event )        local group = self.view

are you accessing the group variable outside of the create function?

If so remove the local and goto the top of your file and say

local group = nil

And try that

I used the log and saw that there was an error with my use of an iphone-only library. I commented out that code and now its working!  Unfortunately I’m getting  the same issue in the main scene now, but I’ve got an idea where to go now.  Thanks!