Skip to content

ASUS ZenPad 1 (x86 cpu) Problem with audioService  #426

@mohammadne

Description

@mohammadne

Which API doesn't behave as documented, and how does it misbehave?
starting isolate and play the audio

Minimal reproduction project
the example

**To Reproduce **

  1. Play example demo app on ASUS ZenPad 10 (Z300CL)
E/flutter (16925): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(39)] java.lang.NoSuchMethodError: No interface method stream()Ljava/util/stream/Stream; in class Ljava/util/List; or its super classes (declaration of 'java.util.List' appears in /system/framework/core-libart.jar)
E/flutter (16925): 	at com.ryanheise.just_audio.AudioPlayer.decodeAudioSource(AudioPlayer.java:463)
E/flutter (16925): 	at com.ryanheise.just_audio.AudioPlayer.getAudioSource(AudioPlayer.java:434)
E/flutter (16925): 	at com.ryanheise.just_audio.AudioPlayer.onMethodCall(AudioPlayer.java:283)
E/flutter (16925): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:226)
E/flutter (16925): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
E/flutter (16925): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:631)
E/flutter (16925): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (16925): 	at android.os.MessageQueue.next(MessageQueue.java:323)
E/flutter (16925): 	at android.os.Looper.loop(Looper.java:135)
E/flutter (16925): 	at android.app.ActivityThread.main(ActivityThread.java:5480)
E/flutter (16925): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (16925): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
E/flutter (16925): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/flutter (16925):
F/flutter (16925): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).
F/libc    (16925): Fatal signal 6 (SIGABRT), code -6 in tid 16925 (com.taninevahy)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'asus/WW_P01T_1/P01T_1:6.0.1/MMB29P/WW_epad-13.8.1.69-20161209:user/release-keys'
Revision: '0'
ABI: 'x86'
pid: 16925, tid: 16925, name: com.taninevahy  >>> com.taninevahy <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env).
'
    eax 00000000  ebx 0000421d  ecx 0000421d  edx 00000006
    esi f779bc90  edi 0000000b
    xcs 00000023  xds 0000002b  xes 0000002b  xfs 00000007  xss 0000002b
    eip ffffe430  ebp 0000421d  esp ffd55d40  flags 00000296
backtrace:
    #00 pc ffffe430  [vdso] (__kernel_vsyscall+16)
    #01 pc 000995b8  /system/lib/libc.so (tgkill+24)
    #02 pc 0009534c  /system/lib/libc.so (pthread_kill+76)
    #03 pc 00037955  /system/lib/libc.so (raise+37)
    #04 pc 00030295  /system/lib/libc.so (abort+85)
    #05 pc 011c5cb1  /data/app/com.taninevahy-1/lib/x86/libflutter.so (offset 0x11a9000)
    #06 pc 011b26e7  /data/app/com.taninevahy-1/lib/x86/libflutter.so (offset 0x11a9000)

Expected behavior
Play the audio without any issue

Runtime Environment :

  • Device: ASUS ZenPad 10 (Z300CL)

Flutter SDK version

1.17.3

Additional context
I could run my app on any device but today I test it on Z300CL which caused the issue.
I don't know exactly why this happened but I guess that it comes fron exoplayer like this issue:
another same issue

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions