SaltPlayerSource
SaltPlayerSource copied to clipboard
Android 6.0 设备在高于 10.4.3 版遇到的崩溃问题
在反馈此问题前请注意 Please note before reporting this issue
- [x] 已经查看相关帮助内容 Read more about the Salt Player help content
- [x] 已经在本仓库搜索相关内容(避免重复反馈)Already searched for related content in this repository (to avoid duplicate feedback)
- [x] 确认仅将提交一个问题(多个问题或者备注提及另外的问题请重新提交新的)Confirm to submit only one issue (if multiple issues or notes mention other issues, please submit a new one separately)
设备型号 Device Model
android 6.0 devices
系统版本 System Version
android 6.0
软件版本 App Version
10.5.0.alpha01及以后版本
描述问题 Describe issue
之前在酷安上已向您反馈这个问题,过了两个大版本没有改善
附崩溃日志:
03-16 15:29:22.464 12510 12510 E AndroidRuntime: FATAL EXCEPTION: main
03-16 15:29:22.464 12510 12510 E AndroidRuntime: Process: com.salt.music, PID: 12510
03-16 15:29:22.464 12510 12510 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.salt.music/com.salt.music.ui.MainActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2583)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2665)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1499)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:111)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.os.Looper.loop(Looper.java:207)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5765)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at com.android.internal.policy.PhoneWindow.requestFeature(PhoneWindow.java:336)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.Activity.requestWindowFeature(Activity.java:3750)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at androidx.core.ऊ.ދ(SourceFile:15)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at com.salt.music.ui.base.BaseComposeActivity.onCreate(SourceFile:4)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at com.salt.music.ui.base.BaseMusicActivity.onCreate(SourceFile:1)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6366)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2530)
03-16 15:29:22.464 12510 12510 E AndroidRuntime: ... 9 more
https://github.com/Moriafly/SaltUI/commit/07d9883645e839425978049249cc49fd2c499c08
10.8.1 修复,若依旧存在请重新打开 issue
问题已解决,现在可以正常运行,感谢!