Giter Club home page Giter Club logo

Comments (4)

ahasbini avatar ahasbini commented on June 4, 2024

True, this is a problem that I'm still trying to solve where some of the older versions of OpenCV are published in a different path format than the newer ones.

For now, there's an option which can be used to overcome this issue. Use the below configuration for the androidOpenCV block:

androidOpenCV {
    version '3.4.3'
    url 'https://sourceforge.net/projects/opencvlibrary/files/opencv-android/3.4.3/opencv-3.4.3-android-sdk.zip'
}

Note that the url option has been marked as deprecated for now and will be removed when a proper fix is implemented in the future. Feel free to use to make the plugin work for now.

from androidopencvgradleplugin.

ahasbini avatar ahasbini commented on June 4, 2024

Btw, version 3.4.4 and above versions are published the right way the plugin expects, so if there aren't any problems with using versions newer than 3.4.3 then there's no need to have url specified.

from androidopencvgradleplugin.

alungoodger avatar alungoodger commented on June 4, 2024

Thanks, the url option seems like a suitable solution to the issue... maybe its worth mentioning in README.md?

FYI I was only experimenting with using an older version of opencv because I could not get the plugin to work (compile opencv successfully) with the newer versions :( I have got further with version 4.1.2, but only by manually making some changes that I suspect should not be required. that said, Android studio/gradle/etc configuration is not really my area of expertise. Is there any kind of forum for this plugin where I can discuss/get help with my problems?

from androidopencvgradleplugin.

ahasbini avatar ahasbini commented on June 4, 2024

Thanks, the url option seems like a suitable solution to the issue... maybe its worth mentioning in README.md?

I had it mentioned in the older versions of the plugin but because of the deprecation decision I removed it. This will hopefully drive me to come up with a proper implementation that will replace the url option soon.

FYI I was only experimenting with using an older version of opencv because I could not get the plugin to work (compile opencv successfully) with the newer versions :( I have got further with version 4.1.2, but only by manually making some changes that I suspect should not be required. that said, Android studio/gradle/etc configuration is not really my area of expertise. Is there any kind of forum for this plugin where I can discuss/get help with my problems?

Well there isn't an official forum for this plugin yet but you can just open them as issues here, include any logs, pieces of code or useful info and it'll be a discussion to work out the problems. I'd be happy to help in issues that are related to plugin as this will in turn improve the plugin as well! :)

Since the provided solution to this issue works, I'll mark this issue as closed. Feel free to comment again or open a new issue(s) if needed.

from androidopencvgradleplugin.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.