App does not load correctly on Android 6
Closed this issue · 1 comments
Checklist
- I am able to reproduce the bug with the latest debug version (Android, Linux, Windows)
- I've checked that there is no open or closed issue about this bug.
- This issue contains only one bug.
- The title of this issue accurately describes the bug.
Steps to reproduce
- Install Spmp v0.3.2 from f-droid
- Open Spmp
Expected behavior
The app should open normally (which it does in 0.2.4)
Actual behavior
The app stays stuck on nothing
Screenshots / recordings
No response
Logs
2024-07-09 03:02:19.271 9513-9513 Timeline pid-9513 I Timeline: Activity_launch_request id:com.toasterofbread.spmp time:9294732
2024-07-09 03:02:19.281 1319-5478 WindowManager pid-1319 V addAppToken: AppWindowToken{d09c71673 token=Token{cba12e2 ActivityRecord{2888fad u0 com.toasterofbread.spmp/.MainActivity t65}}} to stack=1 task=65 at 0
2024-07-09 03:02:19.291 1319-1526 MountService pid-1319 D getExternalStorageMountMode : final mountMode=1, uid : 10134, packageName : com.toasterofbread.spmp
2024-07-09 03:02:19.301 1319-1526 ActivityManager pid-1319 I Start proc 29310:com.toasterofbread.spmp/u0a134 for activity com.toasterofbread.spmp/.MainActivity
2024-07-09 03:02:19.301 29310-29310 SELinux pid-29310 W SELinux: seapp_context_lookup: seinfo=default, level=s0:c512,c768, pkgname=com.toasterofbread.spmp
2024-07-09 03:02:19.331 1319-2271 ActivityManager pid-1319 D Launching com.toasterofbread.spmp, updated priority
2024-07-09 03:02:19.331 1319-2271 MARsPolicyManager pid-1319 V handlePackageResumedFG---screen on..update reset time ...pkg = com.toasterofbread.spmp
2024-07-09 03:02:19.331 1319-1319 GameManagerService pid-1319 D NotifyRunnable. pkg: com.toasterofbread.spmp, type: 4, isMinimized: false, isTunableApp: false
2024-07-09 03:02:19.341 1319-1446 WindowStateAnimator pid-1319 V Finishing drawing window Window{2158e48 u0 d0 p1319 Starting com.toasterofbread.spmp}: mDrawState=DRAW_PENDING
2024-07-09 03:02:19.341 1319-1426 MARsPolicyManager pid-1319 V updatePackagesScore PackageInfo name -- com.toasterofbread.spmp
2024-07-09 03:02:19.341 1319-4097 GamePkgDataHelper pid-1319 D getGamePkgData(). com.toasterofbread.spmp
2024-07-09 03:02:19.341 1319-4097 GameManagerService pid-1319 D identifyGamePackage. com.toasterofbread.spmp
2024-07-09 03:02:19.341 1319-4097 GameManagerService pid-1319 D identifyGamePackage. com.toasterofbread.spmp
2024-07-09 03:02:19.341 1319-1428 StatusBarManagerService pid-1319 D manageDisableList userId=0 what=0x0 pkg=Window{2158e48 u0 d0 p1319 Starting com.toasterofbread.spmp}
2024-07-09 03:02:19.351 1319-4097 GameManagerService pid-1319 D identifyGamePackage. com.toasterofbread.spmp
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W java.lang.RuntimeException: Unable to start activity ComponentInfo{com.toasterofbread.spmp/com.toasterofbread.spmp.MainActivity}: android.database.sqlite.SQLiteException: near "(": syntax error (code 1): , while compiling: select count(*) from
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.resources.migrations.MigrationKt.doesColumnExist(SourceFile)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.resources.migrations.MigrationKt.getVersion(SourceFile)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.resources.migrations.MigrationKt.access$getVersion(SourceFile)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.resources.migrations.Migration.updateDriverIfNeeded(SourceFile:6)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.platform.SqlDriverKt.createDatabase(SourceFile)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.platform.AppContext.(SourceFile:1)
2024-07-09 03:02:19.481 29310-29310 System.err pid-29310 W at com.toasterofbread.spmp.MainActivity.onCreate(SourceFile:30)
2024-07-09 03:02:19.481 29310-29310 Timeline pid-29310 I Timeline: Activity_launch_request id:com.toasterofbread.spmp time:9294941
2024-07-09 03:02:19.491 1319-2323 WindowManager pid-1319 V addAppToken: AppWindowToken{d019be1d token=Token{11946f4 ActivityRecord{de6a0c7 u0 com.toasterofbread.spmp/.ErrorReportActivity t65}}} to stack=1 task=65 at 1
2024-07-09 03:02:19.491 1319-1428 StatusBarManagerService pid-1319 D manageDisableList userId=0 what=0x0 pkg=Window{2158e48 u0 d0 p1319 Starting com.toasterofbread.spmp}
2024-07-09 03:02:19.991 1319-1426 ActivityManager pid-1319 W Activity pause timeout for ActivityRecord{2888fad u0 com.toasterofbread.spmp/.MainActivity t65}
2024-07-09 03:02:20.001 1319-1319 GameManagerService pid-1319 D NotifyRunnable. pkg: com.toasterofbread.spmp, type: 4, isMinimized: false, isTunableApp: false
2024-07-09 03:02:20.001 1319-1426 MARsPolicyManager pid-1319 V handlePackageResumedFG---screen on..update reset time ...pkg = com.toasterofbread.spmp
2024-07-09 03:02:20.001 1319-1426 MARsPolicyManager pid-1319 V updatePackagesScore PackageInfo name -- com.toasterofbread.spmp
SpMp version
0.3.2
SpMp platform
Android
OS version
Android 6.0.1
Additional information
I can't use the debug version on this phone
Please let me know if you need more information ^^
Sorry, but the minimum Android version required by SpMp was raised to Android 8.0 after v0.3.2. It's possible that v0.3.2 will work if you clear the app's data, as this seems to be a database issue.