xamarin.android应用签名不起作用 [英] xamarin.android App signing does not work

查看:964
本文介绍了xamarin.android应用签名不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我尝试我的新的Andr​​oid应用发布到谷歌Play商店中。从读<一个href=\"http://docs.xamarin.com/guides/android/deployment,_testing,_and_metrics/publishing_an_application/part_1_-_$p$pparing_an_application_for_release\"相对=nofollow>本教程我明白,我有它释放到Play商店中之前签署我的应用程序。我做了完全一样的教程。上传到Play商店中后,我想我的设备上安装应用程序。我得到的消息包文件的签名不正确。这是strage。在xamaran工作室我得到的消息包成功地签署了

So im trying to publish my new android app to the Google PlayStore. From reading this tutorial I understand that I have to sign my app before releasing it to the PlayStore. I did exactly the same as in the tutorial. After uploading it to the PlayStore I tried to install the App on my device. I got the message "Package file was not signed correctly". This is strage.. In xamaran studio I get the message "Package succesfully signed".

如果我尝试从设备上的apk我得到的消息无法安装安装App

If I try to install the App from the apk on the device I get the message "Unable to install"

可能是什么错在这里?

林。

推荐答案

如发现problem..This是一个Java工具的问题。这与系统上混合JDK和JRE工具频繁发生。

Found the problem..This is a JAVA tooling problem. This occurs frequently with mixing JDK and JRE tools on the system.

不要使用这些工具从Java 7!

DO NOT USE THE TOOLS FROM Java 7!

仅使用工具从JDK 6。
你可以检查你有什么版本通过键入:

Only use the tools from JDK 6. You can check what version you have by typing:

java -version

如果您仍然不确定签字是否是succesfull可以键入:

If you are still unsure whether the signing was succesfull you can type:

which jarsigner

jarsigner -verify -verbose -certs myapp.apk

这篇关于xamarin.android应用签名不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆