慕娘4211819
2022-05-21
所向无一
2021-04-14
直接用有跨域的问题要后台处理一下,
qq_折中_0
2019-11-16
发布哪呀?
那一缕微风
2019-07-08
问题已经解决。我重新下载了as的vitamio版本,以module的形式导入,直接就可以播放了。也不用判断版本,修改SDK。
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.xie.com.imoocmusic"
minSdkVersion 17
targetSdkVersion 28
versionCode 2
versionName "2.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.android.support:support-v4:26.1.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':vitamio')
compile 'com.android.support:appcompat-v7:26+'
compile 'com.android.support:recyclerview-v7:26+'
compile 'com.android.support:design:26+'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'jp.wasabeef:glide-transformations:3.0.1'
compile 'de.hdodenhof:circleimageview:3.0.0'
compile 'com.android.support.constraint:constraint-layout:1.1.3'
compile 'com.alibaba:fastjson:1.1.52.android'
compile 'com.blankj:utilcode:1.11.1'
compile 'org.igniterealtime.smack:smack-android:4.1.4'
compile 'org.igniterealtime.smack:smack-tcp:4.1.4'
compile 'org.igniterealtime.smack:smack-im:4.1.4'
compile 'org.igniterealtime.smack:smack-extensions:4.1.4'
}
慕斯7576926
2019-03-01
https://www.videolan.org/ 进去自己选择版本就行了
慕婉清9301678
2019-01-15
就是引入的包不对了
慕婉清9301678
2019-01-15
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':vitamio')
??????????????
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:21.0.3'
}
慕九州1570938
2018-11-18
BLCheung
2018-06-28
慕仔1489457
2018-06-24
导包导错了,不是io.vov包下的vitamio.BuildConfig,而是你的包下的vitamio.BuildConfig。其他类同理
qq_记忆丶断断续续_0
2018-05-25
qq_记忆丶断断续续_0
2018-05-24
这个闪退的情况好多的,手机机型也有关系一般都是些兼容问题
不嗅肛
2018-05-21
一般解决不了,这是视频本身的问题
卓越天地
2018-05-12
马锴
2018-05-04
导入vitamio的时候,现在官方已经提供AS版本的,参考官方的指导以及网上其他的参考,不过基本都是关于Build.Gradle等的修改。另外在使用时,在代码最头部import时,看清楚是vitamio的VideoView还是Android的VideoView。我也在这里遇到不少问题,大家一起学习。
彼岸雨敲窗
2018-04-13
在settings.gradle将导入根目录下的module目录名加在include后面
例如如下代码:
include ':app' , ':your_moudle_name'
慕九州2321299
2018-04-03
https://github.com/yixia/VitamioBundle
凌伊
2017-12-16
qq_风清扬_22
2017-12-14
姜苏桐
2017-12-13
我也没遇到过
姜苏桐
2017-12-13
是可以找到的,我觉得阅读比较流行的开源框架也是很好的学习代码设计的一种方式
大连王健林
2017-12-04
Voodoo_jie
2017-12-02
我也遇到过,点开文件导入BuildConfig类就可以了,还有直播源必须是有效的,否则也会出错,后面的问题我没遇到
慕村3338350
2017-12-02
解决了木有,我也是这样的错误……
许文霞
2017-11-30
哪里报错,有什么提示吗?
慕先生4345827
2017-11-23
是关于视频播放的app
慕粉1413385990
2017-11-22
问题解决办法:把gradle下的targeSDK的数值更改位21
慕粉1837076732
2017-11-22
是不是刚开始的导入没有成功???
Care_Alean
2017-11-22
慕小测
2017-11-21
都是一个二进制流!没有什么不同