Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Eclipse Helios 3 周,效果很好。但它不能正常工作2天。
首先,当我第二次尝试启动应用程序时,Eclipse 在 %27 处停止。因此,当应用程序第一次运行时,它会向我展示模拟器。但是当我第二次尝试使用该应用程序时,它会在启动时停止 %27。
其次,Eclipse 没有调试我的应用程序。我将断点添加到应用程序并尝试打开调试模式。但它没有在调试模式下显示模拟器,也没有给出任何错误。只是说waiting the debugger for attach。
waiting the debugger for attach
避免:
启动 Eclipse Window -> AVD Manager 启动模拟器 运行项目
另请参阅 Eclipse 在尝试启动 Android 应用程序时卡住
以下两件事将使您能够调试您的应用程序
1)在清单文件中启用调试和
<uses-permission android:name="android.permission.SET_DEBUG_APP" /> <application android:debuggable="true"> ........ </application>
2)在模拟器/手机设置->应用程序->开发->USB调试(选中此复选框)