khjde1207 / tesseract_ocr

Tesseract OCR for flutter
BSD 3-Clause "New" or "Revised" License
64 stars 33 forks source link

.aar file dependencies are not supported when building an AAR. #2

Closed Wasimshaikh99 closed 3 years ago

Wasimshaikh99 commented 3 years ago
khjde1207 commented 3 years ago

check ./android/build.gradle : 9 line

classpath 'com.android.tools.build:gradle:3.6.2'

./android/app/build.gradle :

android {
.....
 packagingOptions{
      doNotStrip '*/mips/*.so'
      doNotStrip '*/mips64/*.so'
    }

}

gradle latest version error.
I don't know how to solve it.

https://stackoverflow.com/questions/60878599/error-building-android-library-direct-local-aar-file-dependencies-are-not-supp

I was unlucky. let me know if you succeed

khjde1207 commented 3 years ago

I found a way. Please use version 0.3.7.