简体   繁体   English

适用于Android的Eclipse调试配置选项卡

[英]Eclipse Debug Configuration Tab for Android

I read some advice about fixing the "Source not found issue" during debugging. 我阅读了一些有关在调试过程中解决“找不到源问题”的建议。 The Advice is In this scenario just follow the following steps : 1) Go to Run->Debug Configurations 2)Select the remote application configuration being debugged. 建议是在这种情况下,只需执行以下步骤:1)转到运行->调试配置2)选择要调试的远程应用程序配置。 3)Select the second tab named 'Source' 4)Now add the folder/projects containing the source code explicitly here. 3)选择名为'Source'的第二个选项卡。4)现在在此处显式添加包含源代码的文件夹/项目。

However, I check the Debug Configuration I only see three tabs, Android, Target, Common. 但是,我检查了Debug Configuration(调试配置),我只看到三个选项卡,Android,Target和Common。 I don't see any tab named Source . 我没有看到任何名为Source的标签。

What am I missing? 我想念什么?

The problem is not your application source, but the sources of the Android API. 问题不是您的应用程序源,而是Android API的源。 It's not included in the SDK download. 它不包含在SDK下载中。 So when the debugging goes to an Android class Eclipse will raise an error. 因此,当调试进入Android类时,Eclipse将引发错误。 You have to add them -> read this . 您必须添加它们-> 阅读此内容 Currently though, I am not sure if the Android repositories are available for checking out the source files. 不过目前,我不确定Android存储库是否可用于签出源文件。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM