English 中文(简体)
在对坠毁和沉积物进行估价时,没有发现错误。
原标题:What to do when app crashes and logcat shows no errors

投稿人在安装电话后,每当发射时便坠毁,而且航标没有发现错误。

当发生这种情况时,我应该做些什么?

最佳回答

My Proposalion for better resolution of You problem :

电话:debug 电话: 这将使它以欺骗的方式运作。 你们很可能得到更多的减小产出。

  1. Turn on ADB in the phone.
  2. Connect the Phone to the PC
  3. Run as "Debug Configuration" from eclipse.
  4. It should run from your phone and Eclipse will ask for your choice for first time before running that.

转至Debug Mode(说明: http://strong>isn t,我们指的是: 它将能够进一步记录申请,并且通常不收集垃圾。

(主席) 如果申请被迫以假装方式工作,则放弃互换联系对话”。

例如:它使阿辛地的透镜保持运行,并停止运行。 页: 1 但就是一个例子。

因此,由于电话中的应用是forced,因此,它将使该日志在具体线上出现详细的错误。

但是,如果与“Debug As”从Eclipse中联手使用,那么 de形模式是better used。 考虑到网站自动>将转而采用这一节选应用模式(也用方言箱显示),标识将显示更多的细节,并在出现错误时加上将打破


Regarding what Ares told, When you want to do the debugging of a process directly,

  1. You can go to the DDMS panel in Eclipse,
  2. On the right side tab menu Devices ,
  3. Select the process you want to debug . and click on the green symbol ( Says, Start Debugging process )
  4. It will automatically go to the source when it breaks if you have the source code in that eclipse work-space.
问题回答

Additional hint:

在Whuawei电话中,如果电话是在缺电系统环境中,则标识器就显示断电和排泄物。

为了便于在怀威信电话上登录完整标识,你必须做以下工作:

  • Open the factory settings menu by dialing *#*#2846579#*#*
  • A. 对Mendu项目/背景设定/设定的导航

  • 关于旧电话:界定标识的可用性(博客转换)和水平(博客级设定)。

  • On never phones: tick AP Log (which seems to enable app logging in general) and CP Log (seems to enable debug logging)
  • Close the menu with your backbutton (no restart needed)

资料来源:

在Eclipse中,你应去DDMS,然后点击装置名称或roid。 www.un.org/Depts/DGACM/index_french.htm 并且把你的装置变成 de。

  1. You can reset adb (In Devices -> View menu -> Reset adb)
  2. Click on the selected online device/emulator to show the logcat
  3. Disconnect the cable and again connect it. (Or restart the emulator)
  4. Restart Eclipse

我恢复我的支持者,清理了我的建筑。 这冲淡了不log和假冒的坠机。





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...