获取有关路径长度的警告,android.jar导致项目加载失败 [英] Getting warnings about path length, android.jar causing the project load to fail
问题描述
我一直收到关于项目路径长度太长以及项目部分无法加载的警告。当我按照说明获取项目加载日志时,我得到以下内容
I keep getting warnings about the project path length is too long, as well as parts of the project failing to load. When I follow the directions to get a log of the project loading I get the following
"" Files(x86)\ Android \ android-sdk \ platform \ orroid -25\android.jar" --auto-add-overlay --no-version-vectors fakeLogOpen(/ dev / log_security,O_WRONLY)失败
""Files (x86)\Android\android-sdk\platforms\android-25\android.jar" --auto-add-overlay --no-version-vectors fakeLogOpen(/dev/log_security, O_WRONLY) failed
C:\Users\flash\documents\visual studio 2017\Projects\ListViewExample\ListViewExample\ListViewExample\MainPage.xaml : error : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
完成执行任务"XamlGTask" - 失败。完成建筑目标"_CoreXamlG"在项目"ListViewExample.Android.csproj"中 - FAILED。
Done executing task "XamlGTask" -- FAILED. Done building target "_CoreXamlG" in project "ListViewExample.Android.csproj" -- FAILED.
完成建筑项目"ListViewExample.Android.csproj" - FAILED。""
Done building project "ListViewExample.Android.csproj" -- FAILED.""
Android智能感知器已经工作了很长时间,我想知道android.jar文件是否失败是原因。
Intellisense for Android has not been working for quite some time, and I am wondering if the android.jar file failing is the cause.
一如既往,我感谢任何帮助
As always, I appreciate any help
Thomas G Magaro
Thomas G Magaro
推荐答案
欢迎来到MSDN论坛。
Welcome to MSDN forum.
>>指定的路径,文件名或两者都太长。完全限定的文件名必须少于260个字符,目录名必须是
少于248个字符。
这意味着路径超出了Windows允许的最大值。尝试将解决方案移动到磁盘的根目录,以使路径更小。例如,将其直接移至
C:/ drive。
祝你好运,
这篇关于获取有关路径长度的警告,android.jar导致项目加载失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!