虚拟城市武林外传游乐园任务"彻底的娱乐"任务怎么做

Currently banging my head against a wall with this issue, the error is preventing me from building and running my application. It is a PCL project.
Error The "GenerateJavaStubs" task failed unexpectedly.
System.IO.PathTooLongException: 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.
at System.IO.PathHelper.GetFullPathName()
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetFullPathInternal(String path)
at System.IO.Path.GetFullPath(String path)
at Xamarin.Android.Tasks.GenerateJavaStubs.Run()
at Xamarin.Android.Tasks.GenerateJavaStubs.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.&ExecuteInstantiatedTask&d__26.MoveNext() ConstructionMobileApp.Droid C:\Program Files (x86)\MSBuild\Xamarin\Android\mon.targets
My assembly info in the PCL:
using System.R
using System.R
using pilerS
using System.Runtime.InteropS
[assembly: AssemblyTitle("ConstructionMobileApp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConstructionMobileApp")]
[assembly: AssemblyCopyright("Copyright (C)
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
Android Assembly Info:
using System.R
using pilerS
using System.Runtime.InteropS
using Android.A
[assembly: AssemblyTitle("ConstructionMobileApp.Droid")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConstructionMobileApp.Droid")]
[assembly: AssemblyCopyright("Copyright (C)
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
解决方案 Whats the path to the project you are trying to compile?
Windows has a limit on path names so try moving your project to a shorter named path. For example if you are using the default project path of C:\Users\YourUserName\Documents\VisualStudio2015\Projects\something then maybe copy it to c:\Dev.
本文地址: &
目前撞我的头对这一问题的一面墙,错误是阻止我构建和运行我的应用程序。这是一个PCL项目。
错误“GenerateJavaStubs”任务意外失败。
System.IO.PathTooLongException:指定的路径,文件名,或两者都太长。完全合格的文件名必须少于260个字符,并且目录名必须少于248个字符。在System.IO.PathHelper.GetFullPathName ()在System.IO.Path.NormalizePath(字符串路径,布尔fullCheck,的Int32 maxPathLength,布尔expandShortPaths)在System.IO.Path。在Xamarin.Android.Tasks.GenerateJavaStubs.Run在System.IO.Path.GetFullPath GetFullPathInternal(字符串路径)(字符串路径)()在Xamarin.Android.Tasks.GenerateJavaStubs。执行()在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()在Microsoft.Build.BackEnd.TaskBuilder< ExecuteInstantiatedTask> d__26.MoveNext()ConstructionMobileApp .Droid C:\Program文件(x86)\MSBuild\Xamarin\Android\mon.targets 1574
在PCL我的程序集信息:
使用在System.R 使用的System.R使用pilerServices ;使用System.Runtime.InteropServices ;
[总成:AssemblyTitle(“ConstructionMobileApp”)]
[总成:AssemblyDescription(“”)]
[总成:AssemblyConfiguration(“”)]
[组装:AssemblyCompany(“”)]
[总成:AssemblyProduct(“ConstructionMobileApp”)]
[总成:AssemblyCopyright(“版权(C)2014”)]
[总成:AssemblyTrademark(“”)]
[总成:AssemblyCulture(“”)]
[总成:NeutralResourcesLanguage(“EN”)]
[装配:的AssemblyVersion(“1.0.0.0”)] 〔总成:的AssemblyFileVersion(“1.0.0.0”)]
Android的大会信息:
使用的System.R使用pilerServices ;使用System.Runtime.InteropServices ; 使用Android.A
[总成:AssemblyTitle(“ConstructionMobileApp.Droid”)]
[总成:AssemblyDescription(“”)]
[总成:AssemblyConfiguration(“”)]
[总成:AssemblyCompany(“”)]
[总成:AssemblyProduct(“ConstructionMobileApp.Droid”)]
[总成:AssemblyCopyright(“版权(C)2014”)]
[组装:AssemblyTrademark(“”)]
[总成:AssemblyCulture(“”)]
[总成:标记有ComVisible特性(假)]
[装配:的AssemblyVersion(“1.0.0.0 “)]
[装配:的AssemblyFileVersion(”1.0.0.0“)]
[总成:UsesPermission(Android.Manifest.Permission.Internet) [总成:UsesPermission( Android.Manifest.Permission.WriteExternalStorage)]
解决方案 请告诉我路径您试图编译该项目?
Windows有对路径名的限制,所以尽你的项目转移到更短的路径命名。例如,如果您使用的是C的默认项目路径:\Users\YourUserName\Documents\VisualStudio2015\Projects\something那么也许它复制到C:\Dev
本文地址: &
扫一扫关注官方微信当前位置: &

参考资料

 

随机推荐