I've had this error Before, just turn off Google play protect and try again, and if you're still having this problem, it means that your device is running out of storage, try cleaning it or deleting caché and install again.