I am trying to install the App from Google Play Store. Gets downloaded and fails during installation with:

        unknown error code during application install -24

The Same Application got installed with different certificate during debug runs from Android Studio. Now it is not getting deleted or over written. How can i clear the cache completely?

Connected the Mobile using USB and tried to run debug from Android Studio. I get following error on debug run APK transfer.

        Failure [INSTALL_FAILED_UID_CHANGED]