安卓:"路径项目只能有一个段" [英] Android: "Path for project must have only one segment"
问题描述
我只是设置如下描述,但记事本示例项目当我尝试启动它(按Ctrl + F11),我收到以下错误消息框:
I just setup the NotePad sample project as described here, but when I try to launch it (Ctrl+F11) I received the following error message box:
路径项目必须只有一个 段。
Path for project must have only one segment.
这是什么错误意味着以及为什么会发生?
What does this error mean and why is it happening?
(我想咨询这文章,但似乎不相关的我的问题,因为我没有任何的getProject在这个复制,逐字样本项目的任何地方)
(I tried to consult this article, but it seems irrelevant to my problem because I have no getProject anywhere in this copied-verbatim sample project)
推荐答案
我发现这个问题的原因:原来,当我指定的(唯一的)启动配置项目(属性>运行/调试设置),我忘了指定项目名称:
I found the cause of the problem: It turns out that when I specified the (only) Launch configuration for the project (Properties > Run/Debug Settings), I forgot to specify the Project name:
嗯...我想,如果我用鼠标右键单击该项目,它的名字将会被自动拍摄。
Hmmm... I thought that if I right-click the project, its name will be taken automatically.
总之,它现在的作品。是啊! :)
Anyway, it works now. Yeah! :)
这篇关于安卓:"路径项目只能有一个段"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!