I was trying to use opencv library, so I imported one of its projects in Android Studio and when I tried to run it I got this error:
Error:Execution faile
You need to setup OpenCV librairies for your project. You can follow the instruction here.