... | ... | @@ -26,7 +26,7 @@ |
|
|
|
|
|
在AndroidManifest.xml文件下进行以下配置,适配Android 9.0及以上系统。
|
|
|
```
|
|
|
1.添加android:usesCleartextTraffic="true"
|
|
|
添加android:usesCleartextTraffic="true"
|
|
|
|
|
|
<application
|
|
|
android:name="com.bokecc.sdk.mobile.demo.drm.DemoApplication"
|
... | ... | @@ -36,13 +36,4 @@ |
|
|
android:theme="@style/AppTheme"
|
|
|
android:usesCleartextTraffic="true">
|
|
|
|
|
|
2.添加如下配置
|
|
|
<application>
|
|
|
...
|
|
|
<uses-library
|
|
|
android:name="org.apache.http.legacy"
|
|
|
android:required="false" />
|
|
|
...
|
|
|
</application>
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |