Меню Закрыть

Err clear text not permitted

Содержание

I’m starting to work on an app on Android, so I don’t have much. All I have is just a WebView so far. I created the project in Android Studio, and my project got set as an Android InstantApp. I’m not sure why/how, but my guess is that I overlooked an option for it when creating the project.

I was getting an error from the WebView saying net::ERR_CLEARTEXT_NOT_PERMITTED. When I googled the error, I saw that when an app is an InstantApp, WebViews can only load sites that are HTTPS, and cannot load an HTTP site.

The purpose of this app is to be an extremely simple Flash player for only one site. This is to have better performance running a game that requires Flash. This game is at darkorbit.com, which is HTTPS.

My question: How can I disable my app as an InstantApp, or how can I get this WebView to display the site?

Очередь просмотра

Очередь

  • Удалить все
  • Отключить

Хотите сохраните это видео?

  • Пожаловаться

Пожаловаться на видео?

Выполните вход, чтобы сообщить о неприемлемом контенте.

Понравилось?

Не понравилось?

Help us get to 1k subscribers: https://bit.ly/2AgDOwY

Easily manage your channel with tube buddy: https://www.Tubebuddy.com/gameoftweaks

Download the Wish app and use promo code nxmryqs on your first order to get up to 50% off! Get the app here: https://wish.com/dl

Become a gearbest associate/affiliate partner:
https://goo.gl/St6NKn

Background music used:
Alan walker and k-391 — ignite remix

Game of tweaks is a multi-platform technology Channel.

We make videos for everyone, not just for techies.
And we post them everywhere. Subscribe for a decent helping of tech features, first look and hands-on videos, unboxing, gadget reviews, tips, tricks,ROM Review,Nova Setups and Android Customisations.

Читайте также:  Battlefield 1 достижения ps4

Рекомендуем к прочтению

Добавить комментарий

Ваш адрес email не будет опубликован.