[RESOLVED] Problem with app on Device

Hi i have a problem . My app work good in simulator but doesn`t work on davice. i see only background but no textures .

function DrawBG() bg4 = display.newImage("bgdown.png") bg4.x = (240+480) bg4.y = (80+160) bg1 = display.newImage("bgup.png") bg1.x = 240 bg1.y = 80 bg3 = display.newImage("bgup.png") bg3.x = (240+480) bg3.y = 80 bg2 = display.newImage("bgdown.png") bg2.x = 240 bg2.y = (80+160) end function ScrollBG1(self,event) self.x = self.x -2 function resetowanie() if bg1.x \<= -240 then bg1.x = (240+480) end if bg3.x \<= -240 then bg3.x = (240+480) end end resetowanie() end function ScrollBG2(self,event) self.x = self.x -3 function resetowanie() if bg2.x \<= -240 then bg2.x = (240+480) end if bg4.x \<= -240 then bg4.x = (240+480) end end resetowanie() end function RunScrollBG() bg1.enterFrame = ScrollBG1 Runtime:addEventListener("enterFrame", bg1) bg3.enterFrame = ScrollBG1 Runtime:addEventListener("enterFrame", bg3) bg2.enterFrame = ScrollBG2 Runtime:addEventListener("enterFrame", bg2) bg4.enterFrame = ScrollBG2 Runtime:addEventListener("enterFrame", bg4) end function DrawMOB() mob1 = display.newImage("mob.png") mob1.x = 40 mob1.y = 264 end DrawBG() DrawMOB() RunScrollBG()

and it`s a link to apk http://www40.zippyshare.com/v/15467918/file.html

The device is case-sensitive but the simulator is not. Can you verify that the images are named correctly i.e. “mob.png” and not “Mob.png” or “mob.PNG”?

Best regards,

Tomas

You can look at your device’s logs.  If you need to know more on how to see your device logs see this tutorial.

https://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

The reason it’s not working will likely show up there.  But we need to know more information from you.

What version of Corona SDK are you using?

What device are you testing on? 

Rob

Its lestest corona sdk starter from coronalabs website and i test it on Galaxy Tab 2 7.0 ,galaxy s3 and on lowend tablet from cmx. OS windows xp 32bit sp3.

Yeah. now work good. thats was a problem with big letters an end. Thx for help :slight_smile:

The device is case-sensitive but the simulator is not. Can you verify that the images are named correctly i.e. “mob.png” and not “Mob.png” or “mob.PNG”?

Best regards,

Tomas

You can look at your device’s logs.  If you need to know more on how to see your device logs see this tutorial.

https://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

The reason it’s not working will likely show up there.  But we need to know more information from you.

What version of Corona SDK are you using?

What device are you testing on? 

Rob

Its lestest corona sdk starter from coronalabs website and i test it on Galaxy Tab 2 7.0 ,galaxy s3 and on lowend tablet from cmx. OS windows xp 32bit sp3.

Yeah. now work good. thats was a problem with big letters an end. Thx for help :slight_smile: