I downloaded the OpenCV library, I unzipped it and looked at what was there and it contains examples of use

enter image description here

Here they are in the screenshot. But when I try to open them with AndroidStudio, then she does not understand that this application ... First, I get this message enter image description here

I ignore it and then I can see the structure, but the studio does not understand that this application

this is how it looks

enter image description here

What am I doing wrong?

    1 answer 1

    It's like that. You just need to additionally mark the src folder as "Source Folder" (in the project tree on the folder, right-click and find Marked Directory As -> Source below)

    • Yes, but when I click on the src folder, I don’t have the Marked Directory As -> Source item and I checked it in other projects as well ... I right-clicked the src folder that is shown in the screenshot and there’s no such thing. .. Can you clarify where exactly this item is? - Aleksey Timoshchenko
    • In Idea, it looks like this cloud.mail.ru/public/FjUt/cRWdci4p1 . In the studio, in fact, should be similar. If this is not the case, you can pop in the project settings (the icon to the right of the general settings on the panel). It may also be useful to connect a pom-file (if any) - Evgeny Lazarev