Error NDK Android Javac: error: Class names, are only accepted if annotation processing is explicitly requested

0

I'm learning OpenCV for Android, and according to a tutorial I was watching, I had to configure JNI. I have already configured Java and Ndk in order to make their commands accessible from the command line, from any part of the computer. (Windows)

I have to execute this command in the android studio terminal:

javah -d jni -classpath ../../build/intermediates/classes/debug bruno.volcovinsky.aprendiendoopencv.NativeClass

I know that javah is no longer useful, so instead I use javac, which gives me the error mentioned in the title of the question. I also tried using javac -h (which I read on some sites)

The video where I saw that this step must be done is the following: (It opens automatically at the exact moment) link

Does anyone know what may be wrong?

    
asked by Bruno Volko 13.06.2018 в 00:31
source

0 answers