Ask Your Question

theoknock's profile - activity

2015-10-18 22:32:48 -0600 commented answer How to work with OPENCV4ANDROID- in android studio

In build.gradle:

// NOTE: Do not place your application dependencies here; they belong // in the individual module build.grade files

The prohibition is clear; the instruction is not.

Plus, dependencies { compile project(':openCVLibrary2411') } does not work, anyway; Android Studio requires that you declare 'dependencies' a local variable, which I believe has nothing to do with declaring a dependency.

Would classpath ':openCVLibrary2411' work? What if you're using OpenCV for Android SDK 3.0?