Question: I have SDK version 25, when i import a project in android studio this error occurs. 

> 
> "Install missing platform(s) and sync project".
> 
> 
> 

If I click this link, I get another error, which says:

> 
> "The following packages are not available: - Package id
>  platforms;android-23".
> 
> 
> 

[sdk error](https://i.stack.imgur.com/hY1P2.png) 

[my SDK version](https://i.stack.imgur.com/8e89N.png)

Answer: 
Just reinstall opencv-python lib, it's OK.

```
pip uninstall opencv-python
pip install opencv-python=4.2.0.34

```

The version 4.2 is the latest opencv python that don't throw this error. I tried 4.3 or 4.4 +, it's don't work.

The main reason of this question may be the confliction between PyQt5 and Opencv.
I followed the solution suggested by @Varun and it worked for me (using Python 3).
However, I didn't install the built files, as I do not have the admin rights on the system where I need the cv package. A `cmake`, followed by `make` was enough, I then took the `cv2.*.gnu` file from `../build/lib/python3` folder and replaced the one in the `site-packages/cv2` folder of my virtual environment