OpenCV in Android Studio

Hello, i can’t import OpenCV in AndroidStudio, all i get is an Exception,
Build file ‘C:\HTL\5AHIT\ITP-Projekt\GesichtserkennungsApp\build.gradle.kts’ line: 2

Plugin [id: ‘com.android.application’, version: ‘8.1.4’, apply: false] was not found in any of the following sources:

  • Try:

Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.plugins.UnknownPluginException: Plugin [id: ‘com.android.application’, version: ‘8.1.4’, apply: false] was not found in any of the following sources:

I watched multiple Tutorials on Yt, but every video seems to be out of date. Any help is welcome, ty!

Have you tried testing your RAM???

have you tried allowing opencv use in your android manifest?

nevermind I have the same error, pls pls pls pls help

you’re all using the same internet service provider and being online within minutes of each other, did you know?

1 Like

Yes, that’s because we’re in the same School
and we are desperate

Besides YouTube you might consider searching this forum as I’m pretty sure others have had similar problems

I tried multiple Tutorials, Forum and ChatGPT and nothing helped, even my teacher couldn’t help me

It works with IntelliJ, just tried it! Thanks for the help guys :slight_smile: :3