A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
load image xamarin
Here is the error I got when I want load an image in xamarin.
Image Loading: Image failed to load: E_NETWORK_ERROR
what ever I try even with a brand new project I got it. I was in visual studio 2022 and try with the visual 2019 to see if there was any bug on version but I got the same error. I do nothing special just
<Image Source=" chien.jpg" Aspect="Fill" WidthRequest="150" HeightRequest="95"/>
<ListView x:Name="imagesList">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout Orientation="Horizontal">
<ImageButton Source="chien.jpg" Clicked="PlaySound1" BorderColor="#BC32AF" WidthRequest="150" HeightRequest="95"/>
</StackLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
le jdk est jdk-17.0.1
windows 11
sdk android 11