Problem with running VKSdk.login. Everything seems to be going fine, the login window opens, I click on Allow and that's it. Instead of my application, a black screen opens and after a while a window appears with a proposal to close the non-responding application.
MainActivity code snippet:
@Override protected void onCreate(Bundle savedInstanceState) { Log.d(LOG_TAG, "ONCREATE"); super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); VKSdk.wakeUpSession(this, new VKCallback<VKSdk.LoginState>() { @Override public void onResult(VKSdk.LoginState res) { switch (res) { case LoggedOut: VKSdk.login(MainActivity.this, VKScope.AUDIO); break; case LoggedIn: break; case Pending: break; case Unknown: break; } } @Override public void onError(VKError error) { } });