Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException:Didn't find class "org.apache.http.entity.ByteArrayEntity" 错误 #311

Open
edifangyi opened this issue Sep 4, 2019 · 4 comments

Comments

@edifangyi
Copy link

edifangyi commented Sep 4, 2019

image
image

播放器有的时候可以播放

@mtzfactory
Copy link

Me too!

@wixche
Copy link

wixche commented Dec 3, 2021

我也遇到相同问题了,而且是必现,代码使用的是从这里克隆的代码,
然后把代码迁移到了AndroidX环境,修改compile为implementation,修改minSdkVersion 为21,在app目录下的build.gradle里面添加
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
,并在LiveDisplayActivity里面写死了url,播放大约3~4分钟的时候奔溃。

@jianjun8421
Copy link

加上 旧库支持就好了。

@jianjun8421
Copy link

< uses-library android:name="org.apache.http.legacy" android:required="false" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants