English 中文(简体)
甚至在不以欺骗方式运行的情况下,就显示“gger光”
原标题:"Waiting for debugger to attach" showing even when not running in debug mode

<>My problem:

我在提出我的申请时,遇到了一个棘手的问题。 如标题所述,我每次在开始安装等待连接的台阶时(以运行方式,而不是 de!)时,都会安装我的应用程序。

www.un.org/spanish/ecosoc 我想要的是:

如果没有发出这一信息,我就能够开始申请(这只是在过去几天才开始,我可以记住与偷窃有关的任何变化)。

www.un.org/spanish/ecosoc 我所尝试的内容:

  • I have tried setting the android:debuggable="false" but if I do this the debugger never attaches and the message never disappears.
  • I have also tried after installing to disable USB Debugging, but still no results.
  • Even if I kill the application and wake it up through an external source (it uses Google s C2D Messaging Framework) it still tries to run in debug mode on wake-up.

我开发了一些信使,从未 st过。 为什么我无法开始采用联合国模式? 是否还有其他办法在装置上安装,而没有在Eclipse上打下 run子?

必要时,我可以从安妮斯或法典其他部分寄出密码信,但正如我几天前已经提到的那样,这种令人厌恶的行为。

最佳回答

Make sure your java files dont have any break point and Restart the device every thing should be normal.

我遇到同样问题,我的申请总是以欺骗方式处理。 重新启动这一装置对我来说是trick的。

and make sure you are using

正确点击项目->>Run As ->>

问题回答

对我来说,解决办法正在从我的装置环境中脱离USB debugging,然后又转而!

Much quicker than restart the whole device.

我也使用Series。 恢复我的手机为我工作!

<>1>。 露天电话。

<>2>。 选择制定者方案。

<>3>。 可选择开发商,并再次使开发商能够选择。

<>4>。 可通过USB进行编造和安装。

维持这一指挥和解决问题

adb shell am clear-debug-app

如果等待挖尸检验的选择是积极进行的。

Settings -> Developer options -> Wait for debugger.

我认为,这是Jelly Bean新提出的。

我假定这是在推介器,而不是在装置上。 如果是一种装置,则忽视其余部分:p

It sounds like you saved a snapshot of the emulator as the debugger was connecting.

To fix:

1) Go to the AVD control panel, click on the emulator that s affected and hit start
2) when the window pops up, de-select "Launch from snapshot" and leave "Save to Snapshot" selected
3) Start the emulator.
4) Close the emulator
5) On the AVD control panel again start the emulator 6) Check "Launch from snapshot" again

这应当解决问题。

<>strong>EDIT。

Sorry for the wasted space, I read too fast and missed you talking about trying disabling USB Debugging. I have run into the above situation I describe before so I ll leave this answer posted for those who come along who do have such an issue.

可能已经设定了“变换”开发方案等待申请。

一旦检查一下,你就会发现断点。 once一劳永逸,如果你获得同样的信息,则与&; de形构造和gt;选择你需要操作和选择的器具,总是能够照搬。 它将确保工作。 这可能是站不住脚的,但我会长期面对这一问题,我会为此而努力。 如果需要,重新启用你的装置。 成就

For me, I use Android Studio 2.1.2I, I click on Menu Run > Attach debugger to Android process There is only 2 lines __device_name ____app_name I just select app_name(want to run) and click OK then miracle happens.

I had the same problem. But restart my Device or clear the Breakpoints don t worked.

I tried : Run --> Attach to Android Process. Select your package and press OK.

并且:

有许多令人厌恶的进程,我杀死了他们,并着手打乱。

You can also set your Android App as Debugging-App Settings --> Developer Options --> set Debuging-App

你们可以选择你的话

你也许会把你在选择电话时的 app光放在你的电话上。 在环境中——和;开发备选办法——和; 选择有缺陷

为了解决这个问题,选择被打碎的 app,并点击无 app的 app。





相关问题
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 ...

热门标签