Hi,
I'm trying out the Xamarin Live player on a Oneplus 5 android 7.1 but I get the following error:
Built with 2 messages (1,1): error: Internal Build Error: Access to the path '/data/user/0/com.xamarin.live/files/C/dev/MyCompany/Some-Git/Some/src/SomeDemo/SomeDemo/' is denied. C:\dev\MyCompany\Some-Git\Some\src\SomeDemo\SomeDemo.Android\MainActivity.cs(1,1): error: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)
Debugging with a USB cable does seem to work and pairing my devices with Visual Studio to.
So anyone some ideas?
Thanks!
Answers
Same problem here
same problem, did you find the solution?
Moved to LiveXamL.
working great.
No, unfortunatly I haven't found a solution.
But to be honest I haven't searched much anymore.
But as @zahikramer mentioned, you can use:
Or
same problem!
Same problem.
Same problem
this problem still exists in Visual Studio 15.4.0 (stable)
https://bugzilla.xamarin.com/show_bug.cgi?id=56538
We are working on .NET Standard support, which is why you would be experiencing this. Will be coming soon.
Thank you for the update.
@JamesMontemagno Cheers! Looking forward to .NET Standard support....
waiting .net standard support...
Same problem using Visual Studio 15.5 Preview with a .net standard 2.0 project as shared code.
(1,1): error: Internal Build Error: Access to the path '/data/user/0/com.xamarin.live/files/C/Users/Mats/Documents/Visual Studio 2017/Projects/MyArsenal/MyArsenal.Core/' is denied.
Trying to preview on Galaxy S8 with Android 7.1
Anyone can provide help ?
I just pushed out a new version (1.2.80) to google play which now supports .NET Standard project types.
For iOS the Test Flight Fast Ring version supports it as well.
Still does not work with version 1.2.80 on Android
The following errors were encountered when building and running your app:
• Failed to resolve assembly: 'FFImageLoading, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
• Failed to resolve assembly: 'FFImageLoading, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
• Failed to resolve assembly: 'FFImageLoading, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
• Dependent project MyProject.csproj failed to build, using old version.
• MainActivity.cs: The type or namespace name 'DroidShadowFrame' could not be found (are you missing a using directive or an assembly reference?)
You will need to report a bug and provide a sample: https://aka.ms/live-player-report-issue
As most likely some of those assemblies aren't supported.
Did you try a new project just to make sure that is working for you?
I have created a new bug https://bugzilla.xamarin.com/show_bug.cgi?id=60795
Is Xamarin Live player working with netstandard2?
Attempting connection to debug address: 192.168.1.111:37847.
Connected to: 192.168.1.111:37847.
Deploying C:\Temp\xamarin\2018-01-04_App3\App3\App3\App3.Android\App3.Android.csproj...
Got device info: Motorola Moto G (5) Plus Player (Android) @ 192.168.1.111:37847
Synchronizing files...
Building and running...
Built with 1 messages.
(1,1): error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/25.4.0.2/lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.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>[email protected] () [0x00012] in <5a3c110c11b47c3aa74503830c113c5a>: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/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/25.4.0.2/lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.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>[email protected] () [0x00012] in <5a3c110c11b47c3aa74503830c113c5a>:0 at System.Threading.Tasks.Task
1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0Does Xamarin Live work with .netstandard 2?
Is live player working with netstandard2 library?
At this moment, I am getting the following error.
Attempting connection to debug address: 192.168.1.111:37847.
Connected to: 192.168.1.111:37847.
Deploying C:\Temp\xamarin\2018-01-04_App3\App3\App3\App3.Android\App3.Android.csproj...
Got device info: Motorola Moto G (5) Plus Player (Android) @ 192.168.1.111:37847
Synchronizing files...
Building and running...
Built with 1 messages.
(1,1): error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/25.4.0.2/lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.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>[email protected] () [0x00012] in <5a3c110c11b47c3aa74503830c113c5a>: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/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/25.4.0.2/lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.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>[email protected] () [0x00012] in <5a3c110c11b47c3aa74503830c113c5a>:0 at System.Threading.Tasks.Task
1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0Media.Compat issue is now fixed in 1.4.134
Hello @JamesMontemagno
.NET Standard 2.0 Class Library still not works with Live Player.
My .NET Standard 2.0 Class Library is AlmicantaratXF