APK部署错误 [英] Apk Deployment Error

查看:1148
本文介绍了APK部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想上传我的apk文件时遇到了错误:

I'm getting the error when trying to upload my apk file:

转储失败,因为没有找到AndroidManifest.xml中

'dump failed because no androidmanifest.xml found'

在AndroidManifest包名称是否需要成为相同的部署的apk的名字?此外,没有了APK名称必须是形式:com.xxxx.xxxx?或者应该说,TestPro.apk行吗?

Does the package name in the AndroidManifest have to be the same as the deployed apk name? Also, does the apk name have to be in the form: com.xxxx.xxxx? Or should, say, TestPro.apk be ok?

问候...安德鲁

推荐答案

有完全相同的问题(和失去大约4个小时我的生活删除和repasting我的整个项目......)之后,我终于放弃了与谷歌联系这是他们的回答是:

After having the exact same problem (and losing about 4 hours of my life deleting and repasting my entire project...), I finally gave up and contacted Google and this was their answer:

感谢您的来信。请尝试这些故障排除步骤
  让我们知道,如果他们中的一个解决您的问题:

Thank you for your note. Please try these troubleshooting steps and let us know if one of them resolves your problem:

  • Try to upload the app in the new version of the Developer Console (or the old version if you've already tried the new one).
  • Wait for your developer account fee to process (you will no longer see the 'Your registration is being processed...' banner in your Google Play Developer Console).
  • Verify that your manifest file conforms to Android coding standards (see the following help articles: http://developer.android.com/guide/topics/manifest/manifest-intro.html and http://developer.android.com/tools/projects/index.html).

以上所有没有为我工作。

All of the above did not work for me.

我问别人这个问题,在这里是为我工作了答案:

I asked someone about this issue and here was the answer that worked for me:

我已经复制并粘贴我的项目的.apk文件到我的桌面,并从那里工作。

I had copied and pasted my project's .apk file onto my desktop and worked from there.

是我应该做的:(然后做了,它的工作)

WHAT I SHOULD HAVE DONE: (and then did, and it worked)

从Eclipse中正确地导出该项目作为一个Android应用程序,然后按照上述步骤(键,密码和所有)。当时我能够继续顺利进行。

Export the project properly from Eclipse as an android application, and then follow the procedure (key, password and all). I was then able to successfully continue.

另外,虽然我认为你可以有你的包名是你想要的,这是我的理解,接受的传统是有它的。com.XXX.XXX.projectName格式

Also, although I think that you can have your package name be whatever you want, it is my understanding that the accepted convention is to have it in the: com.XXX.XXX.projectName format.

这篇关于APK部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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