蚂蚁无法升级到Android V20后建签署的apk [英] Ant fails to build signed apk after updating to android v20

查看:208
本文介绍了蚂蚁无法升级到Android V20后建签署的apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很有点不可思议的错误发生后,我升级Android和Eclipse工具来V20

Quite a bit of weird error is happening after I upgraded android and eclipse tools to v20

通过蚂蚁建设停止在创建签名的APK,出现以下错误工作

building through Ant stopped working with the following error upon creating the signed apk

 BUILD FAILED
 C:\Programs\Android\tools\ant\build.xml:1097: The following error occurred while executing this line:
 C:\Programs\Android\tools\ant\build.xml:1109: Cannot recover key

任何想法做升级至Android JB组件时能够做什么改变,这可怎么解决?

Any idea what could've changed when doing the upgrade to android JB components, and how can this be rectified?

我AP preciate任何帮助......

I appreciate any help...

推荐答案

我只花了约5小时就这个话题......这一切都来到了密码后的空间。

I just spent about 5hr on this topic... It all came down to a space after the password.

显然,在之前版本这是修剪密码,并在目前的版本中,它没有。

Apparently in the prior version it was trimming the password and in the current version it does not.

所以,确保你没有在行尾空间可以赚取差价。这解决了我们的问题 - 没必要去JDK7(虽然它似乎建立和工作得很好,无论如何,至少从蚂蚁)

So making sure you don't have spaces at the end of the lines might make the difference. That solved the problem for us - no need to go to JDK7 (although it seems to build and work just fine anyway, at least from ant).

这篇关于蚂蚁无法升级到Android V20后建签署的apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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