Android lint - 简单地返回“不存在”
我在 Win7 机器上安装了 Android 工具 r16。我的路径中有工具文件夹。我可以运行“lint”并执行命令,为我提供有关命令行参数的帮助。
然后,我导航到项目文件夹,然后输入:
> lint .
我希望它针对当前文件夹中的项目运行,但它似乎针对名为 SdkController 的项目运行,该项目位于 Android 工具文件夹内。
假设我需要明确提供项目的完整路径,我再次尝试:
> lint c:\...\android\projectX\source\
我只是得到“不存在”。如果我采用完全相同的路径和 CD,我就会被带到该文件夹。我指定的路径肯定存在。什么是“不存在”?
我可能遗漏了一些非常明显的东西,但是任何人都可以向我解释如何在 Windows 上运行 Android lint 而不会出现此错误吗?
I have Android tools r16 installed on a Win7 machine. I have the tools folder in my path. I can run "lint" and the command executes, giving me help on the command line parameters.
I then navigate to a project folder, and type:
> lint .
I expected it to run against the project in the current folder, but it seems to run against a project called SdkController, which is inside the Android tools folder.
Assuming I need to explicitly provide the full path to the project I tried again with this:
> lint c:\...\android\projectX\source\
I just get "does not exist". If I take the exact same path and CD to it, I am taken to that folder. The path I'm specifying definitely exists. What is it that "does not exist"?
I'm probably missing something very obvious, but can anyone explain to me how to run Android lint on Windows without this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您的文件夹路径中可能有一个空格:-),例如:
/Documents and Settings/
我所做的每个新安装或观看我总是推荐的人。简单:
C:/AndroidSDK/
Yeah it's probably that you have a space in your folder path :-) like:
/Documents and Settings/
every new install I do or watch someone do I always recommend. Easy:
C:/AndroidSDK/