[BUG]: Android10 startPlayerFromStream fail
Flutter Sound Version :
taudio: ^10.1.0
Severity
-
Result is not what expected ?
await intercomPlayer.startPlayerFromStream(codec: Codec.pcm16, sampleRate: sampleRate, bufferSize: frameSize, interleaved: false, numChannels: 1).catchError((onError) {});
play fail
Platforms you faced the error
- Android 10 [✓] Flutter (Channel stable, 3.29.2, on macOS 14.5 23F79 darwin-arm64, locale zh-Hans-CN) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2024.1) [✓] VS Code (version 1.98.2) [✓] Connected device (5 available)
Describe the bug Android10 startPlayerFromStream fail
Logs!!!!
I/flutter (30908): 20:55.419: 收到响应数据: [250, 46, 244, 0, 0, 0, 0, 230, 149, 28, 63, 128, 233, 254, 143, 97, 239, 6, 72, 84, 123, 234, 45, 154, 30, 218, 48, 194, 16, 23, 30, 91, 235, 44, 191, 238, 113, 218, 20, 173, 132, 145, 128, 112, 15, 34, 172, 211, 243, 234, 210, 176, 104, 40, 28, 112, 207, 34, 174, 225, 179, 125, 42, 164, 162, 21, 252, 112, 38, 34, 172, 242, 147, 84, 172, 180, 0, 1, 136, 214, 19, 34, 173, 223, 81, 150, 194, 192, 64, 9, 82, 214, 115, 34, 174, 191, 192, 230, 168, 226, 142, 82, 192, 60, 178, 34, 174, 211, 132, 218, 246, 168, 148, 141, 140, 143, 220, 34, 173, 52, 244, 88, 174, 137, 93, 131, 148, 113, 42, 37, 153, 147, 227, 155, 75, 182, 1, 147, 154, 176, 66, 29, 170, 187, 77, 85, 202, 192, 143, 84, 208, 144, 66, 30, 119, 188, 165, 146, 242, 54, 2, 147, 98, 113, 223, 26, 190, 216, 8, 110, 84, 74, 74, 177, 182, 69, 39, 30, 173, 122, 232, 153, 205, 201, 4, 62, 224, 166, 223, 34, 235, 152, 248, 46, 101, 0, 128, 141, 78, 149, 242, 47, 250, 195, 161, 146, 206, 32, 150, 53, 12, 211, 10, 67, 251, 186, 167,
I/flutter (30908): 20:55.420: 40, 15, 200, 29, 34, 94, 231, 15, 94, 249, 160, 147, 88, 254, 150, 161, 148, 218, 166, 61, 119, 137, 32, 191, 57, 123, 113, 88, 149, 194, 207, 245, 250, 46, 40, 0, 0, 0, 0, 181, 16, 139, 187, 160, 196, 41, 229, 152, 179, 50, 46, 181, 42, 167, 10, 140, 82, 50, 27, 99, 57, 9, 50, 243, 39, 247, 243, 52, 166, 35, 154, 140, 47, 204, 64, 32, 245, 250, 46, 160, 0, 0, 0, 0, 84, 15, 45, 175, 213, 174, 103, 186, 189, 104, 19, 90, 72, 202, 46, 172, 216, 87, 111, 198, 88, 122, 83, 64, 181, 202, 46, 173, 232, 150, 143, 83, 184, 179, 178, 24, 72, 15, 39, 223, 101, 171, 38, 165, 183, 10, 129, 72, 84, 55, 46, 110, 232, 155, 90, 91, 36, 155, 50, 60, 84, 20, 46, 173, 165, 222, 6, 66, 149, 36, 14, 174, 166, 231, 46, 171, 168, 15, 30, 164, 107, 105, 216, 76, 181, 55, 46, 174, 192, 173, 104, 232, 54, 196, 186, 182, 166, 231, 50, 167, 184, 1, 175, 98, 102, 245, 128, 24, 243, 25, 46, 173, 100, 172, 66, 108, 74, 172, 34, 176, 231, 55, 43, 169, 116, 75, 146, 24, 104, 136, 225, 82, 166, 96, 47, 106, 90, 132, 1
I/flutter (30908): 20:55.421: 02, 228, 211, 128, 108, 56, 231, 144, 43, 135, 67, 124, 8, 123, 195, 32, 253, 54, 194, 245], -- FA2EF400000000E6951C3F80E9FE8F61EF0648547BEA2D9A1EDA30C210171E5BEB2CBFEE71DA14AD849180700F22ACD3F3EAD2B068281C70CF22AEE1B37D2AA4A215FC702622ACF29354ACB4000188D61322ADDF5196C2C0400952D67322AEBFC0E6A8E28E52C03CB222AED384DAF6A8948D8C8FDC22AD34F458AE895D8394712A259993E39B4BB601939AB0421DAABB4D55CAC08F54D090421E77BCA592F23602936271DF1ABED8086E544A4AB1B645271EAD7AE899CDC9043EE0A6DF22EB98F82E6500808D4E95F22FFAC3A192CE2096350CD30A43FBBAA7280FC81D225EE70F5EF9A09358FE96A194DAA63D778920BF397B715895C2CFF5FA2E2800000000B5108BBBA0C429E598B3322EB52AA70A8C52321B63390932F327F7F334A6239A8C2FCC4020F5FA2EA000000000540F2DAFD5AE67BABD68135A48CA2EACD8576FC6587A5340B5CA2EADE8968F53B8B3B218480F27DF65AB26A5B70A814854372E6EE89B5A5B249B323C54142EADA5DE064295240EAEA6E72EABA80F1EA46B69D84CB5372EAEC0AD68E836C4BAB6A6E732A7B801AF6266F58018F3192EAD64AC426C4AAC22B0E7372BA9744B92186888E152A6602F6A5A8466E4D3806C38E7902B87437C08
I/flutter (30908): 20:55.423: 7BC320FD36C2F5
I/flutter (30908): 20:55.425: 写入数据: [250, 46, 1, 0, 174, 245], -- FA2E0100AEF5
I/flutter (30908): 20:55.427: 写入数据: [250, 46, 1, 0, 174, 245], -- FA2E0100AEF5
I/flutter (30908): 20:55.429: 写入数据: [250, 46, 1, 0, 174, 245], -- FA2E0100AEF5
I/flutter (30908): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (30908): │ #0 FlutterSoundPlayer._setVolume (package:taudio/public/fs/flutter_sound_player.dart:2044:13)
I/flutter (30908): │ #1 FlutterSoundPlayer.setVolume.
I/flutter (30908): │ ⛔ [android]: setVolume: Attempt to invoke virtual method 'int android.media.AudioTrack.setVolume(float)' on a null object reference
It seems that it is a bug :( . I am going to look to it.
It seems that you have an exception during startPlayerFromStream(). I don't know why. But the second issue is that when startPlayer has an exception, the Player is not completely closed and is in a bad state. I am going to fix that, so that you will not get anymore errors during setVolume(). But the main problem is to understand why you have an exception during startPlayerFromStream().
Do you know a reason ?
taudio 10.2.1 is released. I added some logs to be more verbose when startPlayer has an exception. It is very simple to upgrade to 10.2.1. Just 5 minutes. You can see a little guide here
10.2.1
- Add a trace in the logs to be more verbose on Android when startPlayer() has an exception fs #1178
Upgrade to 10.2.1, got the logs:
I/flutter (20896): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (20896): │ #0 new FlutterSoundPlayer (package:taudio/public/fs/flutter_sound_player.dart:199:13)
I/flutter (20896): │ #1 OfflineCommunicationPageController.intercomPlayer (package:aewt/pages/tab_device/offline_communication/offline_communication_page_controller.dart:116:25)
I/flutter (20896): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (20896): │ 🐛 ctor: FlutterSoundPlayer()
I/flutter (20896): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (20896): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (20896): │ #0 FlutterSoundPlayer._openPlayer (package:taudio/public/fs/flutter_sound_player.dart:726:13)
I/flutter (20896): │ #1 FlutterSoundPlayer.openPlayer.
I/flutter (20896): │ #0 FlutterSoundPlayer._openPlayer (package:taudio/public/fs/flutter_sound_player.dart:728:15) I/flutter (20896): │ #1 FlutterSoundPlayer.openPlayer. (package:taudio/public/fs/flutter_sound_player.dart:720:11) I/flutter (20896): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (20896): │ ⚠️ Another openPlayer() in progress I/flutter (20896): └─────────────────────────────────────────────────────────
...
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── I/flutter (20896): │ #0 FlutterSoundPlayer.log (package:taudio/public/fs/flutter_sound_player.dart:417:13) I/flutter (20896): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler. (package:flutter_sound_platform_interface/method_channel_flutter_sound_player.dart:118:21) I/flutter (20896): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ I/flutter (20896): │ ⛔ [android]: java.lang.Exception: Need SDK 31 I/flutter (20896): └─────────────────────────────────────────────────────────
You have two problems :
- You call
openPlayer()several times on the same Player - Your SDK is not >= 31
What is your SDK number ?
Android support minSdk = 24 //flutter.minSdkVersion; Mobile Android system 10: API Level 29; I create two FlutterSoundPlayer, one play stream, one play fromDataBuffer, so have two player;
I am not an expert with Android. This is what I have in my app/build.gradle :
android {
namespace = "xyz.canardoux.fluttersound.example"
//compileSdk = flutter.compileSdkVersion
//ndkVersion = flutter.ndkVersion
ndkVersion = "27.1.12297006"
compileSdk = 35
// compileOptions {
// sourceCompatibility JavaVersion.VERSION_22
// targetCompatibility JavaVersion.VERSION_22
// }
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "xyz.canardoux.fluttersound.example"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion = 28
targetSdk = flutter.targetSdkVersion
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
multiDexEnabled true
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
}
}
}
Probably compileSdk = is important.
You can have several players, but I think you call several time openPlayer() on the same player, and not on different players.
I downgrade to flutter_sound:9.6.0, it seem ok
Can it support Android 8?
I am going to look if we can support Sdk 28/29
But not sure it will be easy to support a so old Android
PlatformException(ERR_UNKNOWN, ERR_UNKNOWN, startPlayer() error, null)
This error occurred on version 10.3.0. It seems that the problem still exists
PlatformException(ERR_UNKNOWN, ERR_UNKNOWN, startPlayer() error, null)This error occurred on version 10.3.0. It seems that the problem still exists
I also encountered the same problem
I also encountered the same problem
Seems like the issue still occurs.
Exception has occurred. PlatformException (PlatformException(error, Attempt to invoke virtual method 'int android.media.AudioTrack.getPlayState()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.AudioTrack.getPlayState()' on a null object reference at xyz.canardoux.TauEngine.FlautoPlayerEngine._isPlaying(FlautoPlayerEngine.java:255) at xyz.canardoux.TauEngine.FlautoPlayer.getPlayerState(FlautoPlayer.java:138) at xyz.canardoux.fluttersound.FlutterSoundPlayer.getPlayerState(FlutterSoundPlayer.java:154) at xyz.canardoux.fluttersound.FlutterSoundPlayer.getStatus(FlutterSoundPlayer.java:119) at xyz.canardoux.fluttersound.FlutterSoundSession.log(FlutterSoundSession.java:124) at xyz.canardoux.fluttersound.FlutterSoundPlayer.startPlayer(FlutterSoundPlayer.java:225) at xyz.canardoux.fluttersound.FlutterSoundPlayerManager.onMethodCall(FlutterSoundPlayerManager.java:120) at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267) at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292) at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0) at android.os.Handler.handleCallback(Handler.java:883) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7356) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) ))
This is the error I am getting on Android 10, API Level 29.
The issue occurs in here:
await _player.startPlayerFromStream(
codec: Codec.pcm16,
numChannels: 1,
sampleRate: settings.sampleRate,
bufferSize: 4096,
interleaved: false,
);
I also encountered the same problem
I released Taudio 10.3.5.
I fixes the bug :
Exception has occurred. PlatformException (PlatformException(error, Attempt to invoke virtual method 'int android.media.AudioTrack.getPlayState()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.AudioTrack.getPlayState()' on a null object reference.
This bug was stupid : it was an error during the error processing in startPlayer(). But your real problem is that you get an error during startPlayer().
Please send your logs and your startPlayer() parameters if you are stucked. I will improve the errors diagnostics during Exceptions processing to be more verbose that just "Error during startPlayer()" which is not very useful for you!
Note : it is really simple to upgrade to 10.3.5. Just 5 minutes. You can read this small notice
Changelog
10.3.5
- Android : Fixes
Exception has occurred. Attempt to invoke virtual method 'int android.media.AudioTrack.getPlayState()' on a null object reference.(fs #1178)
I/flutter (17135): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (17135): │ #0 FlutterSoundPlayer.log (package:taudio/public/fs/flutter_sound_player.dart:418:13)
I/flutter (17135): │ #1 MethodChannelFlutterSoundPlayer.channelMethodCallHandler.
I tried upgrading 10.3.5 This is the error I am getting on Android 10, API Level 29.This is log
Several users complained about the minSdk limit which is actually SDK 31. I am going to see why this limit, but this is probably because I use android features only present in SDK 31.
I released Taudio 10.3.7. I check now that SDK >= 29 instead of 31. The problem is that I don't remember why the check was SDK 31. Probably it was necessary because I use feature only present in SDK 31. Please check Taudio 10.3.7 and tell me if OK. If not OK, please send logs.
Note : it is really simple to upgrade to 10.3.7. Just 5 minutes. You can read this small notice
Changelog
10.3.7
- Android : Flauto Player Engine : check if SDK >= 29 instead of 31. (fs #1178)
I released Taudio 10.3.7. I check now that SDK >= 29 instead of 31. The problem is that I don't remember why the check was SDK 31. Probably it was necessary because I use feature only present in SDK 31. Please check Taudio 10.3.7 and tell me if OK. If not OK, please send logs.
Note : it is really simple to upgrade to 10.3.7. Just 5 minutes. You can read this small notice
Changelog
10.3.7
- Android : Flauto Player Engine : check if SDK >= 29 instead of 31. (fs #1178)
W/AudioSystem(22692): onAudioException error:-2103443657 sessionId:201 W/AudioTrack(22692): restartIfDisabled(45): releaseBuffer() track 0x7218ec4500 disabled due to previous underrun, restarting V/PlayerBase(22692): baseStop() piid=271 F/AudioTrackShared(22692): releaseBuffer: mUnreleased out of range, !(stepCount:320 <= mUnreleased:0 <= mFrameCount:960), BufferSizeInFrames:960 W/AudioSystem(22692): onAudioException error:-2103443657 sessionId:201 V/PlayerBase(22692): baseStop() piid=271 F/libc (22692): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 23202 (Thread-76), pid 22692 (om.iorh.aistran)
Build fingerprint: 'HUAWEI/STK-TL00/HWSTK-HF:10/HUAWEISTK-TL00/103.0.0.168C01:user/release-keys' Revision: '0' ABI: 'arm64' SYSVMTYPE: Maple APPVMTYPE: Art Timestamp: 2025-07-22 10:42:03+0800 pid: 22692, tid: 23202, name: Thread-76 >>> com.iorh.aistran <<< uid: 10298 signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: 'releaseBuffer: mUnreleased out of range, !(stepCount:320 <= mUnreleased:0 <= mFrameCount:960), BufferSizeInFrames:960' x0 0000000000000000 x1 0000000000005aa2 x2 0000000000000006 x3 00000071ce3df830 x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7f7f7f7f7f x8 00000000000000f0 x9 a8926a024d903e89 x10 0000000000000001 x11 0000000000000000 x12 fffffff0fffffbdf x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff x16 00000072b43aea08 x17 00000072b438e7c0 x18 000000712670e000 x19 00000000000058a4 x20 0000000000005aa2 x21 00000000ffffffff x22 0000000000000140 x23 00000072b543b7b0 x24 0000000000000280 x25 000000712a62a800 x26 00000071ce3e1020 x27 00000072b54d4430 x28 0000000000000001 x29 00000071ce3df8d0 sp 00000071ce3df810 lr 00000072b4343640 pc 00000072b434366c backtrace: #00 pc 000000000007066c /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: b91c775ccc9b0556e91bc575a2511cd0) https://github.com/Canardoux/flutter_sound/issues/1 pc 0000000000009a68 /system/lib64/liblog.so (__android_log_assert+324) (BuildId: e7d616e4374129ee20c4c0dce3483010) https://github.com/Canardoux/flutter_sound/issues/2 pc 00000000000839ec /system/lib64/libaudioclient.so (android::ClientProxy::releaseBuffer(android::Proxy::Buffer*)+480) (BuildId: 8f5815e017d0eb0a6f551e2455ba710d) https://github.com/Canardoux/flutter_sound/pull/3 pc 00000000000790a4 /system/lib64/libaudioclient.so (android::AudioTrack::releaseBuffer(android::AudioTrack::Buffer const*)+168) (BuildId: 8f5815e017d0eb0a6f551e2455ba710d) https://github.com/Canardoux/flutter_sound/issues/4 pc 000000000007f2c4 /system/lib64/libaudioclient.so (android::AudioTrack::write(void const*, unsigned long, bool)+848) (BuildId: 8f5815e017d0eb0a6f551e2455ba710d) https://github.com/Canardoux/flutter_sound/issues/5 pc 00000000001dfa84 /system/lib64/libandroid_runtime.so (int writeToTrack(android::spandroid::sp::AudioTrack const&, int, signed char const*, int, int, bool)+180) (BuildId: e8912eb4974ca075a76714316492bb65) https://github.com/Canardoux/flutter_sound/issues/6 pc 00000000001db660 /system/lib64/libandroid_runtime.so (int android_media_AudioTrack_writeArray<_jbyteArray*>(_JNIEnv*, _jobject*, _jbyteArray*, int, int, int, unsigned char)+204) (BuildId: e8912eb4974ca075a76714316492bb65) https://github.com/Canardoux/flutter_sound/issues/7 pc 000000000030be58 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+184) (BuildId: abe334b147eac0aca129c26270b048244c0331e0) https://github.com/Canardoux/flutter_sound/issues/8 pc 0000000000148334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/pull/9 pc 00000000001571b4 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+252) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/10 pc 00000000002fe588 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/11 pc 00000000002fa8ec /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+656) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/12 pc 00000000005d64a0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirectRange+256) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/13 pc 0000000000142c14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct_range+20) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/14 pc 00000000001aba02 /system/framework/framework.jar (android.media.AudioTrack.write+118) https://github.com/Canardoux/flutter_sound/issues/15 pc 00000000005d1400 /apex/com.android.runtime/lib64/libart.so (MterpInvokeVirtual+1432) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/16 pc 0000000000142814 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/17 pc 000000000017c1e8 [anon:dalvik-classes24.dex extracted in memory from /data/app/com.iorh.aistran-jhdkB4BKodUTUy5BzQL7sA==/base.apk!classes24.dex] (xyz.canardoux.TauEngine.FlautoPlayerEngine$FeedThread.run+120) https://github.com/Canardoux/flutter_sound/issues/18 pc 00000000002ceeb4 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.14109938010406342239+320) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/19 pc 00000000005c0d08 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1012) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/20 pc 0000000000151468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/21 pc 0000000000148334 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/22 pc 00000000001571b4 /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+252) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/23 pc 00000000004d9510 /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+104) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/pull/24 pc 00000000004da5a4 /apex/com.android.runtime/lib64/libart.so (art::InvokeVirtualOrInterfaceWithJValues(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+416) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/25 pc 000000000051eb10 /apex/com.android.runtime/lib64/libart.so (art::Thread::CreateCallback(void*)+1232) (BuildId: 73a2145672853571ef40097e4441d44e) https://github.com/Canardoux/flutter_sound/issues/26 pc 00000000000cf7c0 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: b91c775ccc9b0556e91bc575a2511cd0) https://github.com/Canardoux/flutter_sound/issues/27 pc 00000000000721a8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: b91c775ccc9b0556e91bc575a2511cd0) Lost connection to device.
These are the logs, showing that there is an echo when playing the network audio stream, and then it exits abnormally.I tried upgrading 10.3.7 This is the error I am getting on Android 10, API Level 29. Android 14,API Level 34,Android 12,API Level 31,Same thing