Android LinkedIn mobile SDK error?

邮差的信 提交于 2019-11-28 12:15:00

Since you have this issue only with signed APK, seems you have configured an incorrect release key hash value.

Try to check that the release key hash value of the keystore you used to sign the APK is correctly listed in the "Android Package Names and Hashes" field of your LinkedIn application's configuration as described in the documentation:

Generating a release key hash value

To generate a release key hash value, use the following command:

keytool -exportcert -keystore YOUR_RELEASE_KEY_PATH -alias YOUR_RELEASE_KEY_ALIAS | openssl sha1 -binary | openssl base64


Configure the values

In the "Android Package Names and Hashes" field of your LinkedIn application's configuration, provide one or more values in the following comma-separated format:

Android.Package.Name,Key-Hash-Value

In SDK there is "debug.keystore" file in sample app and events app Password of that keystore file is : android

Sign that sample or event app with that keystore file. It will solve your problem

For debug apk I realised that I was using wrong password, for default debug keystore password is android , command given in docs will generate hash key for any password, so please use correct password to save time

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!