未指定网络安全配置,使用平台默认值 [英] No Network Security Config specified, using platform default

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

问题描述

我正在尝试从网页中打印ListView中的值列表.我有两个权限

I'm trying to print a list of values in ListView from a webpage. I have the two permission

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

但是我收到此消息,

D/NetworkSecurityConfig: No Network Security Config specified, using platform default

我不确定这意味着什么以及如何解决.

I'm not sure what it means and how to fixed.

推荐答案

您收到的消息不是错误;只是让您知道您没有使用网络安全配置.如果要添加一个,请查看Android开发者网站上的以下页面: https://developer.android.com/training/articles/security-config.html .

The message you're getting isn't an error; it's just letting you know that you're not using a Network Security Configuration. If you want to add one, take a look at this page on the Android Developers website: https://developer.android.com/training/articles/security-config.html.

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

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