CarGuo / GSYVideoPlayer

视频播放器(IJKplayer、ExoPlayer、MediaPlayer),HTTPS,16k page size,支持弹幕,外挂字幕,支持滤镜、水印、gif截图,片头广告、中间广告,多个同时播放,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放 ,列表全屏动画,视频加载速度,列表小窗口支持拖动,动画效果,调整比例,多分辨率切换,支持切换播放器,进度条小窗口预览,列表切换详情页面无缝播放,rtsp、concat、mpeg。
https://juejin.cn/user/817692379985752/posts
Apache License 2.0
20.25k stars 4.2k forks source link

萌新求助,好你啦,快帮帮我,呜呜呜 #1824

Closed LittleFatBoy closed 5 years ago

LittleFatBoy commented 5 years ago

问题描述:

引入依赖后编译报错 TAT

问题机型/系统:

GSY依赖版本

例如 implementation 'com.shuyu:gsyVideoPlayer-java:6.0.3' 问题代码:(如果有) 这是宝宝的gradle:

apply plugin: 'com.android.application'

android { compileSdkVersion 26 buildToolsVersion '26.0.2'

defaultConfig {
    applicationId "app.guolaiwan.com.guolaiwan"
    minSdkVersion 16
    targetSdkVersion 22
    versionCode 9
    versionName "2.7"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    multiDexEnabled true

    ndk {
        abiFilters "armeabi-v7a"
    }
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        signingConfig signingConfigs.config
    }
    debug{
        signingConfig signingConfigs.config
    }
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}

dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:26.1.0' androidTestImplementation 'com.android.support.test:runner:1.0.1' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1' implementation 'com.amap.api:navi-3dmap:latest.integration' implementation 'com.amap.api:location:latest.integration' implementation 'com.amap.api:search:latest.integration' compile 'com.github.zyyoona7:EasyPopup:1.0.1' 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:+' compile 'com.android.support:multidex:1.0.1' implementation 'cn.simonlee.xcodescanner:zbar:1.1.5' implementation 'com.github.bumptech.glide:glide:3.5.2' implementation 'com.github.chrisbanes.photoview:library:1.2.4' implementation 'com.github.lovetuzitong:MultiImageSelector:1.2' implementation 'top.zibin:Luban:1.0.9' implementation project(':vitamio') implementation project(':live') implementation project(':base') implementation files('libs/alipaySdk-20170922.jar') implementation files('libs/open_sdk_r5788_lite.jar') implementation files('libs/SocialSDK_QQ_Full.jar') implementation files('libs/SocialSDK_Sina_Full.jar') implementation files('libs/SocialSDK_WeiXin_Full.jar') implementation files('libs/umeng_social_api.jar') implementation files('libs/umeng_social_net.jar') implementation files('libs/umeng_social_tool.jar') implementation files('libs/wechat-sdk-android-with-mta-1.1.6.jar') implementation files('libs/weiboSDKCore.jar') implementation files('libs/ormlite-android-5.0.jar') implementation files('libs/ormlite-core-5.0.jar') implementation files('libs/Java-WebSocket-1.3.7.jar') implementation project(':SmallVideoLib') compile 'cn.jzvd:jiaozivideoplayer:6.3.1' compile 'com.wang.avi:library:1.0.0' compile 'com.nineoldandroids:library:2.4.0' compile project(':jbq') compile files('libs/sdk_HeWeather_Public_Android_V2.0.jar') compile 'com.google.android.gms:play-services-appindexing:8.4.0' compile 'com.yuyh.bubble:library:1.0.0' compile files('libs/commons-io-1.4.jar') compile files('libs/commons-lang.jar') compile files('libs/umeng-shareboard-widget-6.9.2.jar') compile 'org.jsoup:jsoup:1.11.3' compile 'com.contrarywind:Android-PickerView:4.1.7' implementation 'com.shuyu:GSYVideoPlayer:6.0.3' }

问题log

Multiple dex files define Landroid/support/design/widget/CoordinatorLayout$Behavior;

CarGuo commented 5 years ago

上面写了,从log看不是这个库的问题。