apply plugin: 'com.android.library' android { compileSdkVersion 29 buildToolsVersion "29.0.3" defaultConfig { minSdkVersion 21 targetSdkVersion 29 consumerProguardFiles 'lib-proguard-rules.pro' } lintOptions { warning 'InvalidPackage' } } dependencies { implementation project(':AliyunSVideoBase') implementation project(':AlivcMedia') implementation project(':AliyunVideoCommon') implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation 'com.aliyun.video.android:svideopro:3.32.1' implementation project(path: ':KlcUtils')//基础版短视频SDK必须依赖。 }