简体   繁体   English

当我在eclipse中运行我的Android应用程序时,我收到此错误

[英]When I run my Android application in eclipse, i get this error

When i run my Android application i get the following in the error log 当我运行我的Android应用程序时,我在错误日志中得到以下内容

Message: 信息:

No command output when running: 'am start -n ru.startandroid.develop.p0031_ourfirstproject/ru.startandroid.develop.p0031_ourfirstproject.MainActivity -a android.intent.action.MAIN -c android.intent.category.LAUNCHER' on device emulator-5554

Exception Trace: 异常跟踪:

com.android.ddmlib.ShellCommandUnresponsiveException
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:430)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:347)
    at com.android.ddmlib.Device.executeShellCommand(Device.java:610)
    at com.android.ide.eclipse.adt.internal.launch.ActivityLaunchAction.doLaunchAction(ActivityLaunchAction.java:67)
    at com.android.ide.eclipse.adt.internal.launch.ActivityLaunchAction.doLaunchAction(ActivityLaunchAction.java:109)
    at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.doLaunchAction(AndroidLaunchController.java:1293)
    at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.doLaunchAction(AndroidLaunchController.java:1305)
    at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launchApp(AndroidLaunchController.java:1277)
    at com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.clientChanged(AndroidLaunchController.java:1642)
    at com.android.ddmlib.AndroidDebugBridge.clientChanged(AndroidDebugBridge.java:926)
    at com.android.ddmlib.Device.update(Device.java:775)
    at com.android.ddmlib.Client.update(Client.java:936)
    at com.android.ddmlib.HandleAppName.handleAPNM(HandleAppName.java:112)
    at com.android.ddmlib.HandleAppName.handleChunk(HandleAppName.java:65)
    at com.android.ddmlib.MonitorThread.callHandler(MonitorThread.java:414)
    at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:322)
    at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263)

Follow below steps helped you.. Let me share so that some one can benefited... 按照以下步骤帮助你..让我分享,以便有人可以受益...

In eclipse Increase the ADB connection timeout by following below steps 在eclipse中按照以下步骤增加ADB连接超时

Window --> Preferences 窗口 - >首选项

Select Andriod -> DDMS from left panel 从左侧面板中选择Andriod - > DDMS

Increase value of "ADB connection time out (ms)" 增加“ADB连接超时(ms)”的值

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android Studio,运行我的应用程序时出现系统错误 - Android Studio, System error when i run my application 当我运行我的应用程序时出现未知错误 - unknown error when i run my application 从Eclipse运行我的应用程序时出现异常 - Exception when I run my application from Eclipse 当我在android中运行我的twitter应用程序时,出现以下错误 - when I run my twitter application in android I got following error 升级android studio 2.2.2后,运行应用程序时出现错误 - After upgrading my android studio 2.2.2, when I run my app I get an error 当我在android studio中运行程序时出现错误“不幸的是,我的应用程序已停止” - There is an error “unfortunately, my application has stopped” when i run my program in android studio 当我运行旧的android项目时,我从build.gradle收到一条错误消息 - When I run my old android project I get a error message from the build.gradle 当我尝试在 Android 移动设备或模拟器中运行时,我的 Flutter 应用程序显示错误 - My Flutter Application is showing error when i tried to run in android mobile or an emulator 因为当我在 Android 应用程序中使用 Firebase Firestore 的依赖项时出现错误? - Because when I use the dependency of Firebase Firestore in my Android application I get an error? 尝试使用 firebase 运行我的 Android 应用程序时遇到问题 - I have a problem when trying to run my Android application with firebase
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM