I got the same problem with my Galaxy S5 after upgrade to Lollipop 5.0, waited for improvment in 5.0.1, but it looks like it is not fixed. Description here:
google play store - How do I deal with unknown installation error code -505? - Android Enthusiasts Stack Exchange
Factory reset solved the...