无法安装我的 Android 应用程序
我将我的 Android 应用程序下载到我的手机上进行测试,当我尝试安装它时,安装只是停止并显示“应用程序未安装”或类似的内容。我没有收到错误或任何错误,所以我无法弄清楚它为什么这样做。有什么想法吗?
I downloaded my android app onto my phone to test it and when I try to install it the install just stops and says "Application not installed" or something like that. I'm not getting an error or anything so I can't figure out why it is doing this. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
尝试查看日志文件中的错误信息。您可以通过以下方式执行此操作:
adb logcat
查看安装应用程序时出现的错误。问题可能来自多个地方,因此了解发生情况的最佳方法是检查日志。
编辑:我决定为那些不熟悉它的人提供
adb
的官方链接:Android 调试桥Try to see the error information in the log file. You can do that by:
adb logcat
to see the error you get when installing the application.The problem may come from several places, therefore the best way to know what is happening is by checking the logs.
EDIT: I decided to include the official link of
adb
for the ones that are not familiar with it: Android Debug Bridge进入设置->应用->检查“未知来源”
Go to Settings -> Applications -> Check 'Unknown Sources'
当我更新清单文件时,我遇到了类似的问题。
我可以将程序加载到手机上,但是在主屏幕上单击其图标时出现了该错误 - 当我更新清单时,它可能已被卸载。但是,单击应用程序列表中的图标效果很好。
也许类似的事情也发生在你的身上?
I encountered a similar problem when I updated my manifest file.
I could load the program onto the phone, but the clicking its icon on the home screen gave me that error - it was probably uninstalled when I updated the manifest. However clicking the icon in the apps list worked fine.
Perhaps something similar happened in your case?
尝试使用 APK 管理器/安装程序
Try using an APK Manager/Installer
我假设您正在使用 .apk 文件,而不是尝试在 Android Market 上购买它。
仅供参考,开发人员无法购买/下载自己的应用程序。
I assume you are using your .apk file and NOT trying to buy it on Android Market.
FYI Developers can not buy/download their own apps.