<?xml version="1.0" encoding="utf-8"?>
<!--Android9以上机型 https请求适配-->
<network-security-config>
base-config cleartextTrafficPermitted="true" />
</>
android:networkSecurityConfig="@xml/network_security_config
application
android:name=".MyApplication"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_round"
android:label="@string/app_name"
android:roundIcon
android:supportsRtl
android:theme="@style/AppTheme"
android:networkSecurityConfig="@xml/network_security_config">
activity =".LoginActivity">
intent-filter>
action ="android.intent.action.MAIN" />
category ="android.intent.category.LAUNCHER" />
activity=".HomeActivity"></application>