在 Android 设备中安装 .apk 后出现错误
我开发了一款Android应用程序。我已在 Samsung Galaxy Pop 中安装了 .apk。它已成功安装,但当我尝试打开它时,它给我一个错误“应用程序意外关闭”。该应用程序在模拟器上运行良好。我不知道出了什么问题。请有人给我适当的建议。
I have developed one Android application. I have installed the .apk in Samsung Galaxy Pop. It has installed successfully but when I'm trying to open it, it gives me an error "Application is unexpectedly close". The application works fine on emulator. I don't know what is the problem. Please someone give me proper suggestions regarding it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请在此处发布您的代码:
->活动启动器
-> XML 的 Activity 启动器
->安卓清单
检查这些事情:
-> Jigar Patel 的全部都写了,并且:
->确保 Launcher Activity 已在 Mainfest 中声明。
->在 Mainfest 检查您的包裹
->权限
将您的错误日志放在这里,因为有很多可能性可以解决。
您的错误与图书馆有关吗?您必须检查您的构建路径库。
但是,如果您的错误(在 logcat 中)与“NullpointerException”有关,请尝试更正您的代码。
Please, post your code here:
-> Activity launcher
-> XML's Activity launcher
-> Android Manifest
Check these things:
-> All of Jigar Patel wrote, and:
-> Make sure that the Launcher Activity has declared in Mainfest.
-> Check your package in Mainfest
-> Permissions
Put your error log here, because there are a lot of possibilities to solve.
Is your error about library? You have to check your build path library.
But, if your error (in a logcat) is about "NullpointerException", try to correct your code.