无法从流加载程序集:System.AggregateException xamarin构建错误

时间:2018-03-20 10:58:24

标签: xamarin xamarin.forms xamarin-live-player

我正在尝试在xamarin live player上构建应用程序,但它给了我一个错误

无法从流加载程序集:System.AggregateException:发生了一个或多个错误。 ---&GT; System.AggregateException:发生一个或多个错误。 ---&GT; System.IO.DirectoryNotFoundException:找不到路径的一部分“/data/data/com.xamarin.live/files/External/.nuget/packages/sqlitepclraw.provider.e_sqlite3.android/1.1.5/lib/MonoAndroid /SQLitePCLRaw.provider.e_sqlite3.dll”。   在System.IO.FileStream..ctor(System.String路径,System.IO.FileMode模式,System.IO.FileAccess访问,System.IO.FileShare共享,System.Int32 bufferSize,System.Boolean匿名,System.IO。 &lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt;中的FileOptions选项)[0x0017d]:0   在System.IO.FileStream..ctor(System.String path,System.IO.FileMode mode,System.IO.FileAccess access,System.IO.FileShare share)[0x00000] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   at(wrapper remoting-invoke-with-check)System.IO.FileStream:.ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)   在System.IO.File.OpenRead(System.String path)[0x00000] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   at。$ LocalFileSystem + Upsight-IFileSystem-OpenReadAsync @ 49-1.Invoke()[0x00012] in&lt; 5a7d391011b47c3aa745038310397d5a&gt ;:0   at System.Threading.Tasks.Task 1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/data/com.xamarin.live/files/External/.nuget/packages/sqlitepclraw.provider.e_sqlite3.android/1.1.5/lib/MonoAndroid/SQLitePCLRaw.provider.e_sqlite3.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>.$LocalFileSystem+Upsight-IFileSystem-OpenReadAsync@49-1.Invoke () [0x00012] in <5a7d391011b47c3aa745038310397d5a>:0 at System.Threading.Tasks.Task 1 [TResult] .InnerInvoke()[0x0000f] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   在&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt;中的System.Threading.Tasks.Task.Execute()[0x00010]:0    ---内部异常堆栈跟踪结束--- ---&GT; (内部异常#0)System.IO.DirectoryNotFoundException:找不到路径的一部分“/data/data/com.xamarin.live/files/External/.nuget/packages/sqlitepclraw.provider.e_sqlite3.android/1.1 0.5 / lib目录/ MonoAndroid / SQLitePCLRaw.provider.e_sqlite3.dll”。   在System.IO.FileStream..ctor(System.String路径,System.IO.FileMode模式,System.IO.FileAccess访问,System.IO.FileShare共享,System.Int32 bufferSize,System.Boolean匿名,System.IO。 &lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt;中的FileOptions选项)[0x0017d]:0   在System.IO.FileStream..ctor(System.String path,System.IO.FileMode mode,System.IO.FileAccess access,System.IO.FileShare share)[0x00000] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   at(wrapper remoting-invoke-with-check)System.IO.FileStream:.ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)   在System.IO.File.OpenRead(System.String path)[0x00000] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt ;:0   at。$ LocalFileSystem + Upsight-IFileSystem-OpenReadAsync @ 49-1.Invoke()[0x00012] in&lt; 5a7d391011b47c3aa745038310397d5a&gt ;:0   在System.Threading.Tasks.Task`1 [TResult] .InnerInvoke()[0x0000f] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt;:0   在System.Threading.Tasks.Task.Execute()[0x00010] in&lt; 896ad1d315ca4ba7b117efb8dacaedcf&gt;:0

这个问题的解决方案是什么

0 个答案:

没有答案