Android 上传到存储错误 - 文件无效:获取“android:name”时出错属性:
我正在将我的草稿应用程序 .apk 文件 myapp.apk 上传到 market.android.com 当我单击上传时,我收到错误消息:
The file is invalid: ERROR getting 'android:name' attribute:
此应用程序在模拟器中运行良好,并且 AndroidManifest.xml 看起来正确。该应用程序也已正确签名。任何想法或建议表示赞赏!
I am uploading my draft application .apk file myapp.apk to market.android.com When I click upload I get the error message:
The file is invalid: ERROR getting 'android:name' attribute:
This app works fine in the simulator and the AndroidManifest.xml looks correct. The app has also been signed correctly. Any thoughts ideas or suggestions are appreciated!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
答案是在 Activity 之前的 AndroidManifest.xml 中需要设置权限。
The answer was in the AndroidManifest.xml before activity the permissions need to be set.
在 android 文件中,您可能已在
.....usespermission=""
中给出你可能犯了一个拼写错误或者它可能是一个空..
如果你不能发布它..只需粘贴代码..,这样我就可以发现错误
In the android file you might have given in
.....uses permission=""</uses permission>
you might have did a typo mistake or it might be a null..
If you cant post it.. just paste the code.., so that I can spot the error