0

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?

  • This app developer should have set an exception handler for this kind of exception. You should ask this question to StackOverflow cause it related to programming. – esQmo_ Nov 28 '16 at 13:53
0

Dude, just tell Google Play not to automatically update the application.

Given that this is a banking app, I would be VERY surprised if there was not some kind of anti-tamper mechanism in place, and this could be a part of it. Of course, this could have been a basic coding screw-up too. From the information you provide, we simply do now know.

Apktool might give you more information as to what is going wrong.

  • How to? If I click "Update All" it will update everything in the list... – TJJ Nov 28 '16 at 15:22
  • @TJJ See How to get rid of update notifications for a given app in Google Play Store? No real solution for everyone, but a couple of work-arounds mentioned there. – Izzy Nov 28 '16 at 15:39
  • Well, it talks about re-signing the apk, but only lists a very simple restriction for it not being possible. With root, I can easily convert any app from system to user partition and therefor completely uninstall. He doesn't mention if re-signing is a problem for possibly certificate checks from within the app. I don't know if that is possible at all. – TJJ Nov 28 '16 at 15:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.