BiliClient
BiliClient copied to clipboard
少依赖啊
文件不全啊,少两个modle啊
edit app/build.gradle
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.charonchui.vitamio:vitamio:4.2.2'
compile files('libs/universal-image-loader-1.9.3.jar')
compile files('libs/jsoup-1.8.1.jar')
compile 'com.github.ctiao:DanmakuFlameMaster:0.4.8'
// compile project(':VPIndexLibrary')
compile 'com.android.support:support-v4:22.1.1'
}
edit seetings.gradle
include ':app'
edit BiliVideoViewActivity.java
...
//import master.flame.danmaku.danmaku.model.android.DanmakuGlobalConfig;
...
// DanmakuGlobalConfig.DEFAULT.setDanmakuStyle(DanmakuGlobalConfig.DANMAKU_STYLE_STROKEN, 3).setDuplicateMergingEnabled(false);
...
// mDanmakuView.prepare(mParser);
...
then sync project