Configure openCV in android studio arctic fox version 2020.3.1 |

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 73

  • @davetoth4569
    @davetoth4569 3 года назад +1

    Super helpful. Thank you SO much for making this video!

    • @Ancode2
      @Ancode2  3 года назад

      Glad to hear that. You're welcome 😊

  • @jesus.zapatero
    @jesus.zapatero 2 года назад

    Thanks man. I got a lot of days trying to solve the problem. I am very noob in Android Studio. Good job. It´s as well for Android Studio Bumblebee.

    • @Ancode2
      @Ancode2  2 года назад

      You're welcome sir

  • @luizgustavoaragao6962
    @luizgustavoaragao6962 3 года назад +2

    Thanks from Brazil, very helpful... Thanks

    • @Ancode2
      @Ancode2  3 года назад

      You're welcome 😊

  • @s04Ker
    @s04Ker 2 года назад

    thanksso much....i've being stuck for a month for this case....

  • @MaralTheGameGirl
    @MaralTheGameGirl 2 года назад +3

    Hey... I have a problem with this
    After I add the line : include ':sdk' in the gradle settings file, I sync it and I get an error that says this:
    org.gradle.api.GradleScriptException: A problem occurred evaluating project ':sdk'.
    Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'kotlin-android' not found.
    at build_2avkj25jsvzsx7qowyzvylvew.run(C:\Users\maral\AndroidStudioProjects\Project\sdk\build.gradle:92)
    I ignored the error and added sdk into dependencies and then tried syncing again but still got the same error.
    Also for my Android Studio, it works when I try to import module inside the software. But it gives me this exact error again.
    So I get the same error both manually including the sdk or importing the java folder into modules and adding it to app's dependencies.
    What do I do? Is there a solutions to this?

    • @Ancode2
      @Ancode2  2 года назад +2

      Yeah I've got you. Go to your build.gradle file and at the very top you can see your app is using Kotlin plugin by default. You just have to remove that line and rerun your app

    • @MaralTheGameGirl
      @MaralTheGameGirl 2 года назад

      @@Ancode2 It worked! Thank you, thank you and thank you very much for replying and helping me^-^

    • @Ancode2
      @Ancode2  2 года назад

      @@MaralTheGameGirl Glad to hear that 😊

    • @vasanthvel501
      @vasanthvel501 Год назад

      @@Ancode2 Hello Brother, after removing kotlin plugin from the build I received namespace error:
      ```
      Namespace not specified. Please specify a namespace in the module's build.gradle file like so:
      android {
      namespace 'com.example.namespace'
      }
      ```
      can you help?

  • @marcrobert2925
    @marcrobert2925 3 года назад +3

    Really helpful, kinda redicoulous, that just adding the module the standard way doesn't work.

    • @Ancode2
      @Ancode2  3 года назад

      Yeah because there's a bug probably. People are facing problem in standard way, next option isn't available there. This does work in the same way.

  • @mrigankaborbora
    @mrigankaborbora 3 года назад +2

    Great one👏👏👏 really helpful..

    • @Ancode2
      @Ancode2  3 года назад +1

      Thank you bro 😊

  • @URKCSJOMINJOSE
    @URKCSJOMINJOSE 3 года назад +2

    Thanks for this...it works!

    • @Ancode2
      @Ancode2  3 года назад

      You're welcome 😊

  • @skemamuddin2007
    @skemamuddin2007 2 года назад +1

    Man Many Many thanks a lot.

  • @adrianobelle1253
    @adrianobelle1253 3 года назад +1

    You helped me a lot!! Thanks from Brazil

    • @Ancode2
      @Ancode2  3 года назад +1

      Glad to hear that.. 😊

  • @juanhernandezmendez9554
    @juanhernandezmendez9554 3 года назад

    EXcelente video Masrter, ya decia que algo estaba mal..... saludos desde Mexico

    • @Ancode2
      @Ancode2  3 года назад +1

      Muchas gracias hermano (translated by google translate)

  • @teamsignbes7795
    @teamsignbes7795 2 года назад

    Nice tutorial... thank you for making this tutorial.

    • @Ancode2
      @Ancode2  2 года назад

      Glad to hear that 😊 you're welcome friend

  • @RolanMayora
    @RolanMayora 2 года назад +1

    SOSO nice video, like it was impossible to load the opencv library, is there a way to make it work with the Async loader instead of using the static field?? I've tryed by doing the stuff of creating the jniLibs folder but its not working at all

  • @MEJA98
    @MEJA98 3 года назад

    Great !!! you save my life

  • @kal.n_vrb
    @kal.n_vrb 3 года назад +1

    Thanks to you ❤️
    Nice video🙌

    • @Ancode2
      @Ancode2  3 года назад

      Thank you! 😊

  • @manalfathi1216
    @manalfathi1216 2 года назад

    should i do this video everytime for each project?

    • @Ancode2
      @Ancode2  2 года назад

      Yes there's nothing wrong with it. It's same

    • @manalfathi1216
      @manalfathi1216 2 года назад

      @@Ancode2 ok thank you, but for me there is nothing printed at the end idk why

    • @Ancode2
      @Ancode2  2 года назад

      @@manalfathi1216 check the steps. You're probably not choosing the correct activity in logcat

  • @MathiHase
    @MathiHase 3 года назад

    For me the gradle build won‘t work (it says successfull but a warning wants me to try again) after putting in the other files manually. General fixes like restarting or reduce ram usage do not work. Do you know this Problem?

    • @Ancode2
      @Ancode2  3 года назад

      What's the warning?

  • @abhishekbhamare4002
    @abhishekbhamare4002 2 года назад

    I have tried opencv importing opencv in in android 4.2.0 and 3...(.something)
    As per tutorial videos on youtube
    Everything goes fine but after i deploy my app,
    it says " opencv package manager not found"
    What should i do?
    Plz help

    • @Ancode2
      @Ancode2  2 года назад

      Are you using ADB? Check the errors in stack overflow. It's your device problem I think

    • @abhishekbhamare4002
      @abhishekbhamare4002 2 года назад

      @@Ancode2 i tried on other devices too but still no luck.
      Stack overflow doesn't have a proper solution

    • @abhishekbhamare4002
      @abhishekbhamare4002 2 года назад

      @@Ancode2 what is adb?
      I don't know android studio. 😂I am doing as the tutorial video says.(for the sake of college project)

  • @miguelangelayalapajuelo6987
    @miguelangelayalapajuelo6987 3 года назад +1

    TY very much !!

    • @Ancode2
      @Ancode2  3 года назад

      You're welcome 😊

    • @miguelangelayalapajuelo6987
      @miguelangelayalapajuelo6987 3 года назад

      @@Ancode2 Hi. I have a question. What do you recommend that I have previously installed before importing opencv? (NDK, SDK, JAVA, ETC)

    • @Ancode2
      @Ancode2  3 года назад

      Yes you should install those libraries before importing

    • @miguelangelayalapajuelo6987
      @miguelangelayalapajuelo6987 3 года назад

      @@Ancode2 What versions do you recommend?

    • @Ancode2
      @Ancode2  3 года назад

      @@miguelangelayalapajuelo6987 I guess you can use any versions after SDK 21 but I ll recommend you to use 26-30 sdk and java i m using latest one

  • @gilbertcabigasalmazan3289
    @gilbertcabigasalmazan3289 2 года назад

    A problem occurred evaluating project ':sdk'.
    > Plugin with id 'kotlin-android' not found.

    • @gilbertcabigasalmazan3289
      @gilbertcabigasalmazan3289 2 года назад

      Got this problem while including sdk folder of open cv in gradle settings

    • @gilbertcabigasalmazan3289
      @gilbertcabigasalmazan3289 2 года назад

      Can you help me fix this?

    • @gilbertcabigasalmazan3289
      @gilbertcabigasalmazan3289 2 года назад

      NDK not configured. Download it with SDK manager. Preferred NDK version is '21.4.7075529'.
      Install NDK '21.4.7075529' and sync project
      removed the error line and this happened

    • @Ancode2
      @Ancode2  2 года назад +1

      Go to your build.gradle file and at the very top you can see your app is using kotlin. You just have to remove that line

    • @gilbertcabigasalmazan3289
      @gilbertcabigasalmazan3289 2 года назад

      @@Ancode2 yes did that but another error download ndkVersion "23.1.7779620" to be able to sync. And now the studio kept on failing download even though my internet is fiber and stable

  • @claudiomanuellopezantypas5514
    @claudiomanuellopezantypas5514 3 года назад

    Thanks a lot

    • @Ancode2
      @Ancode2  3 года назад

      You're welcome 😊

  • @neilyoung6671
    @neilyoung6671 2 года назад

    I napped away... And the main question wasn't answered: How can I finally use Java functions from this?

    • @Ancode2
      @Ancode2  2 года назад +1

      Watch my further videos

  • @dr.pradiptaacharjee6617
    @dr.pradiptaacharjee6617 3 года назад +1

    Dear where can i mail you???

  • @雅菊贤辈
    @雅菊贤辈 2 года назад

    Ancode, everytime when i tries to Add Module Dependency (9:58), there is nothing under the 'Step 1. Please select the modules to add as dependencies.', I was wondering how could this happened, can you help me?

    • @Ancode2
      @Ancode2  2 года назад +1

      8:49 have you included the module file inside gradle.settings?

    • @雅菊贤辈
      @雅菊贤辈 2 года назад

      @@Ancode2 sry, it is 3.3.1, not 3.4.7

    • @雅菊贤辈
      @雅菊贤辈 2 года назад

      @@Ancode2 And the version code of my Android Studio is 2020.3.1 Patch 4, built on November 21, 2021, maybe it matters?

    • @Ancode2
      @Ancode2  2 года назад +1

      @@雅菊贤辈 I ll recommend you to download it from official site

    • @Ancode2
      @Ancode2  2 года назад +1

      @@雅菊贤辈 yeah built matters maybe.But this method should work

  • @shivanshupandey9531
    @shivanshupandey9531 Год назад

    A problem occurred evaluating project ':sdk'.
    > Plugin with id 'kotlin-android' not found.