1

I released a Signed APK as mentioned in this link

When I run the project from eclipse as an Android project, Everything is going fine.

but when i use the signed APK it is not returning any data, also G+ login is not working.

It shows the following person information is null

What can be the reason for this behavior?

Why app is running properly when I run it as an eclipse project and not working when I use the APK.

I am generating release key using the following code:

keytool -exportcert -alias "knowledgeup_alias" -keystore "D:\keystore\androidfinal.jks" | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" sha1 -binary | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" base64

it is working when ever I run it from eclipse. but it doesn't when ever i use the APK

Ideas!

Community
  • 1
  • 1
karan
  • 8,637
  • 3
  • 41
  • 78
  • did you used to set release key in the case of facebook login? – Gopal Singh Sirvi Jul 02 '15 at 09:49
  • i used this to set release key `keytool -exportcert -alias "knowledgeup_alias" -keystore "D:\keystore\androidfinal.jks" | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" sha1 -binary | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" base64 ` – karan Jul 02 '15 at 09:51
  • and then i added the key generated to app at developers account – karan Jul 02 '15 at 09:51

1 Answers1

0

I am not sure perhaps your facing the issue same i faced while done LinkedIn integration.my app work like a charm while running it on debugging mode but when trying with the signed APK it won't.And i realized that the problem arising while happen the mismatching of our release key with their key that getting at the app registration process.

And the link Android LinkedIn mobile SDK error? helped me lot.

Give a look.It couldn't be an answer hope that will be a lead.

Community
  • 1
  • 1
Anoop M Maddasseri
  • 10,213
  • 3
  • 52
  • 73
  • i signed my app as following keytool -exportcert -alias "knowledgeup_alias" -keystore "D:\keystore\androidfinal.jks" | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" sha1 -binary | "C:\Users\abc\Downloads\openssl-0.9.8e_WIN32\bin\openssl.exe" base64 – karan Jul 02 '15 at 10:28
  • besides it is also not retreving any data for listviews and all – karan Jul 02 '15 at 10:28
  • G+ login ? this is enough :) – Anoop M Maddasseri Jul 02 '15 at 10:30