Skip to content

1.3.2

Choose a tag to compare

@mahdisomjee123 mahdisomjee123 released this 22 Aug 07:36
· 1 commit to opencv_update since this release

Below setup for updating OpenCV.

Android

  1. In android/build.gradle change the version of the opencv implementation from 4.1.0 to 4.5.3.0 as shown below:
    implementation 'com.quickbirdstudios:opencv:4.1.0'
    to
    implementation 'com.quickbirdstudios:opencv:4.5.3.0'
  2. In android/build.gradle replace jcenter() with mavenCentral()
  3. In example/android/build.gradle replace jcenter() with mavenCentral()
  4. In example/android/app/build.gradle add the packaging options as shown below:
    android {
    //Rest of the code
        packagingOptions {
            pickFirst 'lib/arm64-v8a/libc++_shared.so'
            pickFirst 'lib/x86_64/libc++_shared.so'
    
            pickFirst 'lib/x86/libc++_shared.so'
            pickFirst 'lib/armeabi-v7a/libc++_shared.so'
    
        }
    }