热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

用作签名apk时Android应用程序无法正常工作-Androidappnotworkingwhenusedassignedapk

IreleasedaSignedAPKasmentionedinthislink我发布了此链接中提到的签名APKWhenIruntheprojectfromecli

I released a Signed APK as mentioned in this link

我发布了此链接中提到的签名APK

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

当我从eclipse作为Android项目运行项目时,一切都很顺利。

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

但是当我使用已签名的APK时,它不会返回任何数据,但G +登录也无效。

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.

为什么app在我作为eclipse项目运行时运行正常而在我使用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

当我从eclipse运行它时,它正在工作。但是当我使用APK时它不会

Ideas!

1 个解决方案

#1


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.

我不确定你面对的问题是我在完成LinkedIn整合时遇到的问题。我的应用程序在调试模式下运行时就像魅力一样,但在尝试使用已签名的APK时它不会。我意识到发生的问题在发生时我们的发布密钥与他们获得应用注册流程的密钥不匹配。

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

和Android LinkedIn移动SDK链接错误?帮了我很多忙。

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

看看。这不可能成为一个领先的答案希望。


推荐阅读
author-avatar
奶油泡芙2覀21
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有