Error in Android

I keep getting the following error when running my game on Android!
11-13 11:49:33.089: ERROR/InputDispatcher(109): channel ‘408fc750 com.pod.sample13/com.ansca.corona.CoronaActivity (server)’ ~ Consumer closed input channel or an error occurred. events=0x8

11-13 11:49:33.089: ERROR/InputDispatcher(109): channel ‘408fc750 com.pod.sample13/com.ansca.corona.CoronaActivity (server)’ ~ Channel is unrecoverably broken and will be disposed!

And the app exits immediately. What causes this error?
[import]uid: 62560 topic_id: 17669 reply_id: 317669[/import]

11-13 12:19:57.972: VERBOSE/RenderScript_jni(22891): surfaceCreated
11-13 12:19:57.972: VERBOSE/RenderScript_jni(22891): surfaceChanged
11-13 12:19:58.015: VERBOSE/RenderScript_jni(22891): surfaceChanged
11-13 12:19:58.058: WARN/InputManagerService(109): Got RemoteException sending setActive(false) notification to pid 24336 uid 10135
11-13 12:19:58.195: VERBOSE/RenderScript_jni(22891): surfaceChanged
11-13 12:19:58.257: VERBOSE/RenderScript_jni(22891): surfaceChanged
11-13 12:19:58.371: WARN/com.skype.raider.MainApp(24239): onConfigurationChanged changed:{ scale=1.0 imsi=404/45 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=383}
And this error… these 2 errors keep repeating!
Any help is appreciated. [import]uid: 62560 topic_id: 17669 reply_id: 67249[/import]

. [import]uid: 64174 topic_id: 17669 reply_id: 67254[/import]

All right… I disabled all audio in my game…
The game doesn’t crash any more!
What’s wrong with my handling of audio???
I use 24-bit PCM format Mp3. [import]uid: 62560 topic_id: 17669 reply_id: 67257[/import]

Seems the error was because I used an audio stream after it was disposed! Works good now!

Cheers! [import]uid: 62560 topic_id: 17669 reply_id: 67265[/import]

Thanks for posting an update to your issue, it might help others in the future.

Very pleased you got it resolved :slight_smile:

Peach [import]uid: 52491 topic_id: 17669 reply_id: 67269[/import]

@Peach

INFO/SoundDecoder_SetError(26460): Cannot operate on sample because already at EOF

I keep this getting this error repeatedly at the end of every loop of all my looping sounds. Not an error… an “Info” to be precise.

But the sound stream is not affected. It just loops on without fail.

Any idea why this occurs??? [import]uid: 62560 topic_id: 17669 reply_id: 67271[/import]

Hey again,

I’m not certain on this effort - what build are you currently using?

Peach [import]uid: 52491 topic_id: 17669 reply_id: 67369[/import]

The latest stable build only! 591
Anyway now I have got a more serious problem now.

http://developer.anscamobile.com/forum/2011/11/14/got-remoteexception-sending-setactivefalse-notification-error-android

The game crashes like hell with this error. Hope to get it resolved soon :frowning:
[import]uid: 62560 topic_id: 17669 reply_id: 67470[/import]

I’ll pass on your problem to someone who deals with the Android side of things and hopefully you should get an answer in the morning.

Peach :slight_smile: [import]uid: 52491 topic_id: 17669 reply_id: 67476[/import]

Thanks a lot!
Any way got that second bug fixed… Gave a frame delay to some functions. Works perfectly now,

Only the[blockcode]
INFO/SoundDecoder_SetError(26460): Cannot operate on sample because already at EOF
[/blockcode]
message remains. That doesn’t affect gameplay by any means though! :slight_smile: [import]uid: 62560 topic_id: 17669 reply_id: 67484[/import]

Any updates on the

“Cannot operate on sample because already at EOF”

error??? [import]uid: 62560 topic_id: 17669 reply_id: 68235[/import]