Closed vivadavid closed 5 months ago
I second this. All is the same, build - free. Android 9, MIUI Chinese stock, Redmi Note 7 Pro
Same here. Had to load old version. Play Store version fails, Free fails and Libre fails.
@jjo21631 What is your device?
I'll have to find out what the problem is, as I'd tested several versions of Android with no problems.
LineageOS 18.1 (Android 11) here on Galaxy S7. Same problem. I see a pattern here, we use a very old version of Android. UPDATE: attached logs, hope that helps. logs-2024-06-18-08-41-35.zip
@jjo21631 What is your device?
OnePlus N10 5G running Android 11
Same here!Android 10 huawei.Have to go back to 4.0.6 for it to work And when I put the same database and same version app on my other phone which is android13,everything's normal again. It does have something to do with the Android version
Same here!Android 10 huawei.Have to go back to 4.0.6 for it to work And when I put the same database and same version app on my other phone which is android13,everything's normal again. It does have something to do with the Android version
The same 4.0.7 version installation package was installed on two mobile phones. The first one is currently in use: vivo x60, Android 11, and the database cannot be opened The second old phone: Huawei nova2, Android 8, everything is normal
Thanks @SanskritFritz , it's very useful.
06-18 08:40:17.631 E/AndroidRuntime(439): Process: com.kunzisoft.keepass.libre, PID: 439
06-18 08:40:17.631 E/AndroidRuntime(439): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kunzisoft.keepass.libre/com.kunzisoft.keepass.activities.GroupActivity}: java.lang.ClassCastException: android.content.res.TypedArray cannot be cast to java.lang.AutoCloseable
06-18 08:40:17.631 E/AndroidRuntime(439): at com.kunzisoft.keepass.view.ViewUtilKt.setTransparentNavigationBar(ViewUtil.kt:311)
06-18 08:40:17.631 E/AndroidRuntime(439): at com.kunzisoft.keepass.activities.GroupActivity.onCreate(GroupActivity.kt:295)
06-18 08:40:17.635 W/ActivityTaskManager(3768): Force finishing activity com.kunzisoft.keepass.libre/com.kunzisoft.keepass.activities.GroupActivity
There seems to be a graphical bug on some versions of android (a weird cast), especially on version 11 apparently. I'm trying to reproduce the problem on my end by downloading a version of API 30 on my emulator.
I've just found it's this code that doesn't work on some versions:
this.window.statusBarColor = obtainStyledAttributes(intArrayOf(R.attr.colorSurface)).use {
it.getColor(0, Color.GRAY)
}
I'm trying a patch and a redeployment
Fixed for me on 4.0.8! Thanks!
Everything is fine in 4.0.8, thanks for the quick fix!
Man that was fixed quickly, thank you!
Describe the bug
I can't open my database.
To Reproduce
KeePass Database
KeePassDX:
Android:
Additional context
After uninstalling 4.0.7 and installing again 4.0.6, I can open my database.