`
flyfox1982
  • 浏览: 81018 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

android:The application has stopped unexpectedly, please try again.

 
阅读更多

The application has stopped unexpectedly, please try again.

出现这个错误的原因有很多,所以从这个错误并不知道是什么原因。需要启动日志来查看,在 eclipse 查看android日志

在eclipse 里依次选择
Window->show view->Other->Android->LogCat。

我刚开始学习android的时候出现这个错误,也是不知所措,最后查看日志,就找到了原因:没有把写的activity类添加到AndroidManifest.xml中(新手的时候,很菜),代码可以编译通过,但是执行就会报错。

分享到:
评论

相关推荐

    Android代码-CustomActivityOnCrash

    This library allows launching a custom activity when the app crashes, instead of showing the hated "Unfortunately, X has stopped" dialog. How to use One-step install Add the following dependency to ...

    kafka-eagle-2.0.4.tar.gz

    《Kafka Eagle 2.0.4:高效监控与管理Kafka集群的利器》 Kafka Eagle是一款专门针对Apache Kafka的高性能、易用的监控和管理工具,其2.0.4版本为用户提供了更为完善的Kafka集群监控解决方案。这款开源软件能够帮助...

    借助Ehcache缓存框架实现对页面的缓存Demo

    信息: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown...

    (Weberdo) Play Service Info APK android app

    To fix "Google Play Services has stopped" errors, try opening the app info dialog and select "clear cache". If that does not work, try the "uninstall updates" option. Then download and re-install the ...

    Proxool-0.9.1

    SEVERE: The web application [/xxx] registered the JDBC driver [org.logicalcobwebs.proxool.ProxoolDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the...

    ambari报错解决

    报错1: Using python /usr/bin/python ...REASON: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property server.jdbc.driver.path=[path/to/c

    android平台初级错误整理

    6. **The application has stopped unexpectedly** 这个错误通常是因为程序运行时遇到了未捕获的异常。排查方法包括: - 检查是否有未注册的Activity。 - 检查布局文件中的XML语法错误,如控件名称、宽度和高度...

    heob:检测缓冲区溢出和内存泄漏

    heob-堆观察者 heob覆盖被调用进程的堆函数,以检测缓冲区溢出和内存泄漏。 在缓冲区溢出时,将引发访问冲突,并提供有问题的指令和缓冲区分配的堆栈跟踪。 当程序正常退出时,将显示所有泄漏的堆栈跟踪。...

    亿图图示专家(EDraw Max) v9.2 官方版.exe

    亿图图示专家(EDraw Max)是一款新的流程图、网络图绘制软件,新颖小巧,功能强大,可以很方便的绘制各种专业的业务流程图、组织结构图、商业图表、程序流程图,数据流程图,网络拓扑图等。 官方介绍: ...

    Android代码-jitsi-android

    The development of Jitsi for Android has been stopped in early 2015. Issues and Pull Requests will not be addressed. Jitsi for Android Jitsi for Android is an Android port of the Jitsi project: The ...

    新译林版六年级英语上册第一单元知识点练习精选.doc

    4. try on:试穿 5. the magic clothes:魔法衣服 6. clever people:聪明的人 7. foolish people:愚蠢的人 8. walk through:穿过 9. in his new clothes:穿着他的新衣服 10. a lot of people:很多人 11. in the...

    Android应用源码之KeyChain.zip

    在Android应用开发中,KeyChain类是一个非常重要的组件,它主要用于处理与安全相关的证书和私钥操作。在Android系统中,KeyChain提供了访问系统KeyStore的接口,KeyStore是一个存储加密密钥的安全区域,用于保护应用...

    新课标人教版高中英语必修1-选修7单词默写(默写专用)无三角形.doc

    - 例句:Please add up all the numbers and tell me the total. 3. **upset** (adj./vt.)(upset, upset) - adj. 含义:不安的;烦恼的 - vt. 含义:使烦恼;打乱 - 例句:I feel really upset after hearing ...

    androidpdf.rar

    初探ANDROID..................................................................................................................................... 4 2008 年末最大的冲击.....................................

    Interface Polling stopped. Could not remap interface .txt

    Interface Polling stopped. Could not remap interface .txt

    高频常用英语的胶水词.docx

    例句:Before long, the rain stopped. - **for the first (second, etc.) time**:表示第一次(第二次等)。例句:This is the first time I’ve been to New York. - **the minute**:表示一...就...。例句:The ...

    大连理工大学《大学英语3》20秋在线测试2答案.docx.docx

    from doing sth." 表示“阻止某人做某事”,如:The heavy rain stopped us from going to the park. - "at the end of" 指“在...的末端/尽头”,如:At the end of the street there is a post office. 2. **...

    All In One(AIO) V1.0

    例子: Aio -EnumService Stopped -> 列举停止了的服务 帮助: Aio -EnumService 8.FHS -> 检查系统隐藏服务 用法: Aio.exe -FHS 9.FGet -> FTP下载 用法: Aio.exe -FGet FTP地址 端口 用户名 密码 要下载文件名 ...

Global site tag (gtag.js) - Google Analytics