未指定网络安全配置,使用平台默认设置-Android日志 [英] No Network Security Config specified, using platform default - Android Log

查看:118
本文介绍了未指定网络安全配置,使用平台默认设置-Android日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过000webhost.com建立数据库.每当我从android studio运行应用程序时,我都会在事件日志中不断显示此消息.有谁知道如何解决这个问题?非常感激!

I am trying to make a database via 000webhost.com. I keep getting this message showing in the event log whenever I run the app from android studio. Does anyone knows how to solve this problem? Much appreciated!

推荐答案

我也遇到了同样的问题.请将此行添加到清单中的application标记中.希望对您有所帮助.

I had also the same problem. Please add this line in application tag in manifest. I hope it will also help you.

android:usesCleartextTraffic="true"

这篇关于未指定网络安全配置,使用平台默认设置-Android日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆