I'm using an app that has been updated, but doesn't work on my phone on the current version. So I'm currently using an older one. But of course it always shows up with an update in the PlayStore.
Now I've found one workaround to be signing the apk with my own key. Therefor, it would not be recognized anymore by the PlayStore. It is a banking app (code verification). The app at first seems fine. Unfortunately, when I try to scan the activation code, the self-signed version crashes. Via adb logcat it throws this error:
java.lang.ArithmeticException: divide by zero
Is this some kind of security mechanism inside the app to check whether the certificate is the correct one? Shouldn't it be possible to alter this check? Or is there a way to trace with action causes the divide by zero exception?