How to Fix Google Play Error 505 and 504 When Installing Apps
Error 505 means Play reached the install stage and found a permission or package conflict already registered on the device. Error 504 reports the same collision with less detail, usually after an uninstall that never finished. Both are cleared by removing the leftover package record, not by clearing the download cache.