Apk 部署错误 [英] Apk Deployment Error

查看:13
本文介绍了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 个小时的生命删除和重新粘贴我的整个项目......)后,我终于放弃并联系了 Google这是他们的回答:

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:

以上所有方法都不适合我.

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天全站免登陆