No sound and strange error

Hi,

Sounds and music work on simulator but not in any devices.

I get this error message in adb logcat :

" Controller.startTimer(): Abort because it hasn’t been set!"

This message does this relate to my problem ?

Thank you for your help

Pascal.

I have no idea what that message means. Is it one of your print statements? Is there any prefix on it? A copy/paste from adb logcat of that and the messages before and after would be helpful.

Generally speaking the cause of “It works on the simulator but not the device” is due to the fact that devices are case sensitive when it comes to file names, but the simulator is not.

So lets say you have a beep sounds in a folder called audio:     “audio/beep.wav”

But you try and load:  “Audio/beep.wav”

Will work on the simulator, but not the device. But you should get a bunch of warnings in your adb logcat complaining about it.

Rob

The sound error is solved, It was due to case sensitive, thank you.

My error message is still there at starting but my app work well.

C:\Users\Pascal\Desktop\>cd c:\android-sdk\platform-tools\ c:\android-sdk\platform-tools\>adb logcat Corona:v \*:s \* daemon not running. starting it now on port 5037 \* \* daemon started successfully \* - waiting for device - --------- beginning of /dev/log/main --------- beginning of /dev/log/system D/Corona ( 1836): Controller.startTimer(): Abort because it hasn't been set! V/Corona ( 1836): \> Class.forName: network.LuaLoader V/Corona ( 1836): \< Class.forName: network.LuaLoader V/Corona ( 1836): Loading via reflection: network.LuaLoader I/Corona ( 1836): Platform: Google Nexus 4 - 4.3 - API 18 - 768x1280 / x86 / 4.3 / Android Emulator OpenGL ES Translator (GeForce GT 740/PCIe/SSE2) / OpenGL ES 2.0 (4.5.0 NVIDIA 353.62) / 2015.2731 I/Corona ( 1836): Goog V/Corona ( 1836): \> Class.forName: plugin.fuse.LuaLoader V/Corona ( 1836): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 1836): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 1836): Loading via reflection: CoronaProvider.licensing.google.LuaLoader I/Corona ( 1836): Goog V/Corona ( 1836): \> Class.forName: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): \< Class.forName: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): Loading via reflection: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): \> Class.forName: plugin.google.iap.v3.LuaLoader V/Corona ( 1836): \< Class.forName: plugin.google.iap.v3.LuaLoader V/Corona ( 1836): Loading via reflection: plugin.google.iap.v3.LuaLoader

I don’t think this is an big issue. I’ll see if Engineering has any insight into what that message is about.

Rob

Also had that message pop up before (corona build 2731) running on android 4.4.2.

D/Corona(25616): Controller.startTimer(): Abort because it hasn’t been set!

I think you can ignore it.

Rob

I have no idea what that message means. Is it one of your print statements? Is there any prefix on it? A copy/paste from adb logcat of that and the messages before and after would be helpful.

Generally speaking the cause of “It works on the simulator but not the device” is due to the fact that devices are case sensitive when it comes to file names, but the simulator is not.

So lets say you have a beep sounds in a folder called audio:     “audio/beep.wav”

But you try and load:  “Audio/beep.wav”

Will work on the simulator, but not the device. But you should get a bunch of warnings in your adb logcat complaining about it.

Rob

The sound error is solved, It was due to case sensitive, thank you.

My error message is still there at starting but my app work well.

C:\Users\Pascal\Desktop\>cd c:\android-sdk\platform-tools\ c:\android-sdk\platform-tools\>adb logcat Corona:v \*:s \* daemon not running. starting it now on port 5037 \* \* daemon started successfully \* - waiting for device - --------- beginning of /dev/log/main --------- beginning of /dev/log/system D/Corona ( 1836): Controller.startTimer(): Abort because it hasn't been set! V/Corona ( 1836): \> Class.forName: network.LuaLoader V/Corona ( 1836): \< Class.forName: network.LuaLoader V/Corona ( 1836): Loading via reflection: network.LuaLoader I/Corona ( 1836): Platform: Google Nexus 4 - 4.3 - API 18 - 768x1280 / x86 / 4.3 / Android Emulator OpenGL ES Translator (GeForce GT 740/PCIe/SSE2) / OpenGL ES 2.0 (4.5.0 NVIDIA 353.62) / 2015.2731 I/Corona ( 1836): Goog V/Corona ( 1836): \> Class.forName: plugin.fuse.LuaLoader V/Corona ( 1836): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 1836): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 1836): Loading via reflection: CoronaProvider.licensing.google.LuaLoader I/Corona ( 1836): Goog V/Corona ( 1836): \> Class.forName: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): \< Class.forName: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): Loading via reflection: CoronaProvider.gameNetwork.google.LuaLoader V/Corona ( 1836): \> Class.forName: plugin.google.iap.v3.LuaLoader V/Corona ( 1836): \< Class.forName: plugin.google.iap.v3.LuaLoader V/Corona ( 1836): Loading via reflection: plugin.google.iap.v3.LuaLoader

I don’t think this is an big issue. I’ll see if Engineering has any insight into what that message is about.

Rob

Also had that message pop up before (corona build 2731) running on android 4.4.2.

D/Corona(25616): Controller.startTimer(): Abort because it hasn’t been set!

I think you can ignore it.

Rob