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

大哥,为什么不把原来eclipse里面的引用library搞到AS里啊 #1

Open
Stevenxin opened this issue Mar 30, 2016 · 1 comment

Comments

@Stevenxin
Copy link

还好,我以前看过这个哥们用eclipse写的版本,
有些library没有传上来啦 !!!
DanmakuFlameMaster-master
OneXListviewLibrary
Vitamio 4.0
viewPagerlibrary

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.1.1'
compile project(':vitamio')
compile files('libs/universal-image-loader-1.9.3.jar')
compile files('libs/jsoup-1.8.1.jar')
compile project(':DanmakuFlameMaster')
// compile project(':VPIndexLibrary')
compile 'com.android.support:support-v4:22.1.1'
}

@huzhenjie
Copy link

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

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

2 participants