如何注册一个已编译的APK [英] how to sign an already compiled APK

查看:110
本文介绍了如何注册一个已编译的APK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经去codeD的APK与apktool(如原始的源$ C ​​$ C丢失了),所以我可以修复的布局XML文件中的一些问题。我然后重建回来了apktool,当我试图给我的设备上安装它(使用ADB:亚洲开发银行安装appname.apk)它给了我这个错误:

I've decoded an APK with apktool (as the original source code was lost) so I could fix some issues with the layout xml files. I've then rebuilt it back up with apktool and when I tried to install it on my device (using adb: adb install appname.apk) it gave me this error:

[INSTALL_PARSE_FAILED_NO_CERTIFICATES]

原来的apk不过是由一个密钥库(Eclipse的IDE)签约,这个人是不是,我怎么能签字正确地与它的原始梯形文件中的Eclipse外面!?

the original apk however was signed by a keystore (on eclipse IDE), this one isn't, how can I sign it properly with it's original keystone file outside Eclipse!?

推荐答案

您使用的jarsigner签署APK的。你没有签署与原始密钥库,只是产生一个新的。阅读上的细节: http://developer.android.com/guide/publishing /app-signing.html

You use jarsigner to sign APK's. You don't have to sign with the original keystore, just generate a new one. Read up on the details: http://developer.android.com/guide/publishing/app-signing.html

这篇关于如何注册一个已编译的APK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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