Uno: Got a net::ERR_CACHE_MISS when in Release to Android

Created on 12 Jun 2018  路  3Comments  路  Source: unoplatform/uno

I put a
<WebView x:Name="wv1" Source="https://www.google.com/"></WebView>
and a

                <Button x:Name="btn1" Click="Button_Click" >
                    <TextBlock>btn1</TextBlock>
                </Button>

and have this code

        private async void Button_Click(object sender, RoutedEventArgs e)
        {
            wv1.Navigate(new Uri("https://news.google.com"));
        }

If I deploy it in Debug to my LENOVO K10a40 (Android 6.0 API 23) it works fine.
But If I deploy in Release to it, then this appears on the WebBrowser

net::ERR_CACHE_MISS

Most helpful comment

Thank you. After adding the INTERNET permission It works on Release configuration!

All 3 comments

Have you added the INTERNET permission to your android manifest ?

<uses-permission android:name="android.permission.INTERNET"/>

@TonyHenrique did you get past this issue ?

Thank you. After adding the INTERNET permission It works on Release configuration!

Was this page helpful?
0 / 5 - 0 ratings