Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: cannot find symbol variable GL_TEXTURE_EXTERNAL_OES + OpenCV on Android Studio

I am beginner in developing Opencv application on Android. I have two error in compiling an OpenCV sample (15 puzzle) on Android:
1. error: cannot find symbol variable GL_TEXTURE_EXTERNAL_OES
2. error: package android.hardward.camera2 does not exist.

like image 393
Truong-An Avatar asked Nov 28 '22 06:11

Truong-An


1 Answers

Change the compile SDK version and build tools to latest BUT on module opencv in Project Structure.

configuration project structure

like image 108
migueldo Avatar answered Nov 30 '22 19:11

migueldo