The App doesn't runn on my SamsungS3

Hello guys

I ve coded a little but when I build it for Android and Install it on my phone it shows only the immages (perfectly) but the touch doesn’t work and no animations are working…

I don’t know the reason I hope you can help me

(PS: for me is something related to the config.lua because i setup it using 270;48 as weigh ; height but I’m not sure)

:rolleyes: :rolleyes: :rolleyes:

Hi @BETLAB11.    You need to provide some more information before anyone can really help.  Your device has a log file that will likely have any errors in it.  Please read this tutorial/blog post on debugging and see if it clues you in on the error, and if not, you can post the messages back here for others to help you with.

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

It’s also important for us to know what operating system your on, what version of Corona SDK you are using and what device and Android operating system you are trying to use as well.

Thanks

Rob

I ve a Windows operating system,  and I have Andorid on my cellphone v 4.1.2,  and I use the latest version of corona released on december with the graphic v2.0

When I run the file on the simultaor no Error messagese are displayed… (any type of error) nor cmd shows me errors.

When I install the .apk on my cell phone the installation goes well but when i open the app it appears only the immages but no animation works and no actions (if I touch nothing happpens).

I don’t understand how to proceed

When we hear “It runs fine on the simulator, but not on the device”, about 95% of the time is a file name problem.  On the simulator (because Windows and OS-X are not case sensitive operating systems, you might have an image named:

someimage.PNG

but in your code, you have:   “someimage.png”.   On the sim, this is okay.  However both the iOS and Android operating systems are case sensitive and it won’t find that file.  This is why I wanted you to tread that tutorial I posted and look in the console log.  That specific case is covered as an example and at this point we are still guessing because you have not shared the messages from the devices console log with us.

In your long term, Corona-Android development, learning to use this basic debugging tool will save you a lot of grief.  But it’s likely a file name problem (not just images, could be audio, storyboard scene names, etc.) so scour your code looking for places where you might have a file name mismatch.  Looking at the console log will tell you exactly where the problem is and may save you time depending on the complexity of your project.

Rob

How caqn I chek the errors on the console ??

I already cecked the files Name and everything are exaclty alike… :wacko: :wacko: :wacko:

All the instructions to see the console log are here:
 

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

Rob

I akready read the blogs but I can’t find the solution. It is not helpfull in my case is for this reason that I 'm asking here.

Then what are the contents of your log file.  Please post the log file here.

Rob

this is my log file no errors are displayed

http://imgur.com/BDZNliJ

That screen shot is from the simulator.  It is not the output from the “adb logcat” command.   You have to build for your device.  Use your USB charging cable and “tether” your S3 to your Windows machine via a USB port.  Install your app to your device.  Then you have to open a Command window and type in the command:

adb logcat

It’s this output I’m interested in.

Sorry my bad … I understood the problem

My screen is 270x480

I have an Image that has the x coordinate outside the screen (it has an x coordinate of 900) and in my device doesn’t work…

Does this mean you have solved this?

Yesss…

Hi @BETLAB11.    You need to provide some more information before anyone can really help.  Your device has a log file that will likely have any errors in it.  Please read this tutorial/blog post on debugging and see if it clues you in on the error, and if not, you can post the messages back here for others to help you with.

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

It’s also important for us to know what operating system your on, what version of Corona SDK you are using and what device and Android operating system you are trying to use as well.

Thanks

Rob

I ve a Windows operating system,  and I have Andorid on my cellphone v 4.1.2,  and I use the latest version of corona released on december with the graphic v2.0

When I run the file on the simultaor no Error messagese are displayed… (any type of error) nor cmd shows me errors.

When I install the .apk on my cell phone the installation goes well but when i open the app it appears only the immages but no animation works and no actions (if I touch nothing happpens).

I don’t understand how to proceed

When we hear “It runs fine on the simulator, but not on the device”, about 95% of the time is a file name problem.  On the simulator (because Windows and OS-X are not case sensitive operating systems, you might have an image named:

someimage.PNG

but in your code, you have:   “someimage.png”.   On the sim, this is okay.  However both the iOS and Android operating systems are case sensitive and it won’t find that file.  This is why I wanted you to tread that tutorial I posted and look in the console log.  That specific case is covered as an example and at this point we are still guessing because you have not shared the messages from the devices console log with us.

In your long term, Corona-Android development, learning to use this basic debugging tool will save you a lot of grief.  But it’s likely a file name problem (not just images, could be audio, storyboard scene names, etc.) so scour your code looking for places where you might have a file name mismatch.  Looking at the console log will tell you exactly where the problem is and may save you time depending on the complexity of your project.

Rob

How caqn I chek the errors on the console ??

I already cecked the files Name and everything are exaclty alike… :wacko: :wacko: :wacko:

All the instructions to see the console log are here:
 

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

Rob

I akready read the blogs but I can’t find the solution. It is not helpfull in my case is for this reason that I 'm asking here.

Then what are the contents of your log file.  Please post the log file here.

Rob