在 Android 设备中安装 .apk 后出现错误

发布于 2024-12-09 14:06:37 字数 130 浏览 0 评论 0原文

我开发了一款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 技术交流群。

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

发布评论

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

评论(2

又怨 2024-12-16 14:06:37
first of all check screen sizes in manifest..
check all permissions ur application need is added in ur manifest?
check versions supported by your application..

<uses-permission />
<permission />
<permission-tree />
<permission-group />
<instrumentation />
<uses-sdk />
<uses-configuration />  
<uses-feature />  
<supports-screens />  
<compatible-screens />  
first of all check screen sizes in manifest..
check all permissions ur application need is added in ur manifest?
check versions supported by your application..

<uses-permission />
<permission />
<permission-tree />
<permission-group />
<instrumentation />
<uses-sdk />
<uses-configuration />  
<uses-feature />  
<supports-screens />  
<compatible-screens />  
怀中猫帐中妖 2024-12-16 14:06:37

请在此处发布您的代码:

->活动启动器

-> XML 的 Activity 启动器

->安卓清单

块引用

检查这些事情:

-> Jigar Patel 的全部都写了,并且:

->确保 Launcher Activity 已在 Mainfest 中声明。

->在 Mainfest 检查您的包裹

->权限

将您的错误日志放在这里,因为有很多可能性可以解决。
您的错误与图书馆有关吗?您必须检查您的构建路径库。

但是,如果您的错误(在 logcat 中)与“NullpointerException”有关,请尝试更正您的代码。

Please, post your code here:

-> Activity launcher

-> XML's Activity launcher

-> Android Manifest

Blockquote

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.

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