Nick Pakhomov Nick Pakhomov - 9 months ago 132
Android Question

VK SDK android "sdk_fingerprint is incorrect" error

I'm using official VK SDK for Android and currently I am trying to authorize a user via official VK app from Google Play Market. I have no errors when authorizing with login web page that pops up and asks for user's credentials, but if the app is installed it will send an intent to launch auth window in the app and it gives me that error:

I am initializing the SDK, tried to get the fingerprint both using the Android Studio terminal and VKSDK method. Both return the same, but it doesn't work. Package name is copied to the settings of my VK app, no main activity is provided because it is not needed.

Answer Source

I've solved the problem by recreating debug.keystore in ~/.android/ folder and creating new keystores along with fingerprints for debug and release version.