Apk 部署错误

发布于 2024-12-09 10:09:47 字数 190 浏览 0 评论 0原文

我在尝试上传 apk 文件时收到错误:

“转储失败,因为未找到 androidmanifest.xml”

AndroidManifest 中的包名称是否必须与部署的 apk 名称相同?另外,apk 名称是否必须采用以下形式:com.xxxx.xxxx?或者说,TestPro.apk 应该可以吗?

问候...安德鲁

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

'dump failed because no androidmanifest.xml found'

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?

Regards...Andrew

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花开柳相依 2024-12-16 10:09:47

使用Winzip或zip阅读器打开您的APK文件,检查您的包中是否存在AndroidManifest.xml

Use Winzip or zip reader to open your APK file to check whether AndroidManifest.xml exists inside your package.

月寒剑心 2024-12-16 10:09:47

在遇到完全相同的问题之后(我花了大约 4 个小时删除并重新粘贴我的整个项目......),我最终放弃并联系了 Google,这就是他们的答案:

感谢您的留言。请尝试这些故障排除步骤并
如果其中之一可以解决您的问题,请告诉我们:

以上所有内容对我都不起作用。

我向某人询问了这个问题,这是对我有用的答案:

我已将项目的 .apk 文件复制并粘贴到我的桌面上并从那里开始工作。

我应该做什么:(然后做了,它起作用了)

从 Eclipse 中将项目正确导出为 Android 应用程序,然后按照过程(密钥、密码和所有)进行操作。然后我就能够成功地继续。

另外,虽然我认为您可以将包名称命名为任何您想要的名称,但据我了解,可接受的约定是采用以下格式:com.XXX.XXX.projectName。

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:

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)

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.

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文