How to install JavaCV on Android and use FrameGrabber

后端 未结 4 1207
感动是毒
感动是毒 2021-02-06 07:14

Could someone tell me where I\'m doing wrong? These are the steps that I have followed:

  1. Downloaded the adt-bundle-windows from android developer website

4条回答
  •  爱一瞬间的悲伤
    2021-02-06 08:11

    For latest version. In build.gradle:

    repositories {
    ...
       mavenCentral()
    }
    dependencies {
    ...
       compile group: 'org.bytedeco', name: 'javacv', version: '1.2'
       compile group: 'org.bytedeco.javacpp-presets', name: 'opencv', version:   '3.1.0-1.2', classifier: 'android-arm'
       compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version:   '3.1.2-1.2', classifier: 'android-arm'
    }
    configurations {
       all*.exclude group: 'org.bytedeco', module: 'javacpp-presets'
    }
    

提交回复
热议问题