This error can occur when you download an application is interrupted. To be more specific, the -505 error means that the application you are trying to install is not optimized with Android 5.0.
Solution
To adjust, the only solution is to send an email to the editor of the application from the Google Play Store.