我正在运行 Windows 10、Visual Studio 2015 和 Xamarin。我对 Xamarin 比较陌生(只是为了设置地面)。我最近更新后遇到了一个问题。我的应用程序在更新之前正在运行。我的所有文件都是只读的,更新之前我没有遇到任何问题。除此之外,我还重建了该项目,并为该项目进行了“清理和重建”。我已经用我拥有的多个应用程序尝试过它,其他应用程序没有这个问题。我在下面收到以下错误的问题。
06-26 13:51:55.108 I/MonoDroid( 6985): UNHANDLED EXCEPTION:
06-26 13:51:55.142 I/MonoDroid( 6985): System.UnauthorizedAccessException: Access to the path "/storage/emulated/0/defaultDirectory/users.ini" is denied.
06-26 13:51:55.142 I/MonoDroid( 6985): 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) [0x001f1] in <3fd174ff54b146228c505f23cf75ce71>:0
06-26 13:51:55.142 I/MonoDroid( 6985): at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <3fd174ff54b146228c505f23cf75ce71>:0
06-26 …Run Code Online (Sandbox Code Playgroud)