It is much easier to solve error code 24 on Google Play Store without root rights or manual manipulations. You just need to install cleaning programs like SD Maid or Cleanmaster and clean your device to fix error code 24 in Google Play.
In the cleaning program you can choose some tools to fix a lot of errors.