apply from: '../app.gradle' android { defaultConfig { resourcePrefix 'video_' if (!isRelease) { applicationId "com.edufound.video" versionCode 1 versionName "1.0" } ndk { abiFilters "arm64-v8a" abiFilters "armeabi-v7a" abiFilters "armeabi" abiFilters "x86" // 添加x86必须添加x86_64 abiFilters "x86_64" } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } } dependencies { // required, enough for most devices. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8' // ExoPlayer as IMediaPlayer: optional, experimental implementation 'tv.danmaku.ijk.media:ijkplayer-exo:0.8.8' }