Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]车机播放异常没有声音,下载到本地播放异常,进度条卡着不动 #226

Open
leG09 opened this issue Apr 12, 2024 · 9 comments
Assignees

Comments

@leG09
Copy link

leG09 commented Apr 12, 2024

系统:安卓5.1
平台:群晖6.2
版本:1.2.6
播放歌曲:flac
日志提示不支持安卓5,求处理,现在很多车机都是安卓5😭
异常图如下

IMG_20240415_070257

@leG09 leG09 changed the title 领克06E01车机播放没有声音,下载到本地播放也没声音,其他app播放有声音 车机播放异常没有声音,下载到本地播放异常,进度条卡着不动 Apr 14, 2024
@leG09 leG09 changed the title 车机播放异常没有声音,下载到本地播放异常,进度条卡着不动 [BUG]车机播放异常没有声音,下载到本地播放异常,进度条卡着不动 Apr 14, 2024
@leG09
Copy link
Author

leG09 commented Apr 14, 2024

INFO 06:56:05.471 (+0:00:00.404104)
INFO 💡 当前版本:1.2.6,构建次数:2054
DEBUG 06:56:05.480 (+0:00:00.412953)
DEBUG 🐛 数据库位置:/data/data/cn.aqzscn.stream_music/app_flutter/stream_music.db
DEBUG 06:56:05.513 (+0:00:00.446395)
DEBUG 🐛 数据库版本:13
TRACE 06:56:05.516 (+0:00:00.448859)
TRACE 缓存文件保存路径: /data/data/cn.aqzscn.stream_music/cache
TRACE 06:56:05.518 (+0:00:00.450829)
TRACE 音乐文件保存路径: /storage/emulated/0/Android/data/cn.aqzscn.stream_music/files/songs
TRACE 06:56:05.578 (+0:00:00.511556)
TRACE 歌曲占用空间: 119.77 MB,元数据占用空间: 538.01 KB,系统占用空间: 147.89 KB
DEBUG 06:56:05.583 (+0:00:00.516603)
DEBUG 🐛 应用初始化完毕
WARNING 06:56:05.832 (+0:00:00.764755)
WARNING ⚠️ 无法连接到服务器,进入离线模式
INFO 06:56:07.111 (+0:00:02.044304)
INFO 💡 当前网络连接类型:以太网
ERROR 06:56:07.172 (+0:00:02.105320)
ERROR ⛔ PlatformException(noAPI, API is supported only in Android 6 (Marshmallow) and later, null, null)

@gitbobobo
Copy link
Owner

看起来像是使用了安卓6以上才有的API,看报错像是播放插件的问题。

下个版本将会更换为更通用的播放插件,到时可以再试下是否能播放,如果还不能的话应该就是没办法支持了。

@leG09
Copy link
Author

leG09 commented Apr 15, 2024

太感谢了,能解决软件必买不可

@gitbobobo
Copy link
Owner

1.2.8已更换新的播放插件,可以再看看这样的问题还会不会出现。

@leG09
Copy link
Author

leG09 commented Apr 17, 2024

升级之后卡死在首页进不去了
IMG_20240418_071329

@gitbobobo gitbobobo self-assigned this May 6, 2024
@leG09
Copy link
Author

leG09 commented May 13, 2024

我用Android Studio 安卓5.1模拟器运行音流1.2.8,adb logcat日志如下

E/flutter ( 2802): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(noAPI, API is supported only in Android 6 (Marshmallow) and later, null, null)
E/flutter ( 2802): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
E/flutter ( 2802): pid: 2802, tid: 2827, name 1.ui
E/flutter ( 2802): os: android arch: arm64 comp: yes sim: no
E/flutter ( 2802): build_id: 'b866ace19ac51ffff7dae5b7431c221b'
E/flutter ( 2802): isolate_dso_base: 70dacb5000, vm_dso_base: 70dacb5000
E/flutter ( 2802): isolate_instructions: 70dafcb580, vm_instructions: 70dafb5000
E/flutter ( 2802): #00 abs 00000070db568a57 virt 00000000008b3a57 _kDartIsolateSnapshotInstructions+0x59d4d7
E/flutter ( 2802): #1 abs 00000070db687673 virt 00000000009d2673 _kDartIsolateSnapshotInstructions+0x6bc0f3
E/flutter ( 2802):
E/flutter ( 2802): #2 abs 00000070db6e549b virt 0000000000a3049b _kDartIsolateSnapshotInstructions+0x719f1b
E/flutter ( 2802):
E/flutter ( 2802): #3 abs 00000070db6e51db virt 0000000000a301db _kDartIsolateSnapshotInstructions+0x719c5b
E/flutter ( 2802):
E/flutter ( 2802): #04 abs 00000070db6dbb43 virt 0000000000a26b43 _kDartIsolateSnapshotInstructions+0x7105c3
E/flutter ( 2802):
E/flutter ( 2802):

@leG09
Copy link
Author

leG09 commented May 13, 2024

车机adb logcat报错与上相同

@gitbobobo
Copy link
Owner

看这个报错还是因为版本不兼容,用到了最低安卓6的api

目前没什么好办法,兼容低版本也不是我现在优先级比较高的任务。。

@leG09
Copy link
Author

leG09 commented May 13, 2024

收到,待日后空了再研究吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants