build.gradle 801 B

12345678910111213141516171819202122232425262728293031323334
  1. apply from: '../app.gradle'
  2. android {
  3. defaultConfig {
  4. resourcePrefix 'video_'
  5. if (!isRelease) {
  6. applicationId "com.edufound.video"
  7. versionCode 1
  8. versionName "1.0"
  9. }
  10. ndk {
  11. abiFilters "arm64-v8a"
  12. abiFilters "armeabi-v7a"
  13. abiFilters "armeabi"
  14. abiFilters "x86"
  15. // 添加x86必须添加x86_64
  16. abiFilters "x86_64"
  17. }
  18. }
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. }
  25. dependencies {
  26. // required, enough for most devices.
  27. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
  28. // ExoPlayer as IMediaPlayer: optional, experimental
  29. implementation 'tv.danmaku.ijk.media:ijkplayer-exo:0.8.8'
  30. }