JavaCV + Android Studio + gradle- possible?

前端 未结 7 1101
难免孤独
难免孤独 2021-01-31 21:19

I\'m trying use JavaCV with Android Studio and Gradle. I wrote such code fragment:

   repositories {
    mavenCentral()
    maven {
        url \"http://maven2.j         


        
7条回答
  •  一生所求
    2021-01-31 22:01

    Inserting inside the build.gradle dependencies worked for me:

    compile ‘org.bytedeco:javacv:+’
    compile group: ‘org.bytedeco.javacpp-presets’, name: ‘opencv’, version:   ‘2.4.10–0.10', classifier: ‘android-arm’ 
    compile group: ‘org.bytedeco.javacpp-presets’, name: ‘ffmpeg’, version:   ‘2.5.1–0.10', classifier: ‘android-arm’
    

提交回复
热议问题