更新时间:2023-09-15 19:36:28
您必须禁用 org.apache.http.legacy
从您的应用程序中添加,因此在清单中添加以下行
You have to disable org.apache.http.legacy
from your application so add below lines in manifest
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
从gradle中删除 useLibrary'org.apache.http.legacy'
remove useLibrary 'org.apache.http.legacy' from gradle
如果您在应用程序中使用任何http网址,则引用此
If you are using any http url in your application, refer this