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?
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
@@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?
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
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?
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
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 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
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?
Super helpful. Thank you SO much for making this video!
Glad to hear that. You're welcome 😊
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.
You're welcome sir
Thanks from Brazil, very helpful... Thanks
You're welcome 😊
thanksso much....i've being stuck for a month for this case....
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?
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
@@Ancode2 It worked! Thank you, thank you and thank you very much for replying and helping me^-^
@@MaralTheGameGirl Glad to hear that 😊
@@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?
Really helpful, kinda redicoulous, that just adding the module the standard way doesn't work.
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.
Great one👏👏👏 really helpful..
Thank you bro 😊
Thanks for this...it works!
You're welcome 😊
Man Many Many thanks a lot.
You helped me a lot!! Thanks from Brazil
Glad to hear that.. 😊
EXcelente video Masrter, ya decia que algo estaba mal..... saludos desde Mexico
Muchas gracias hermano (translated by google translate)
Nice tutorial... thank you for making this tutorial.
Glad to hear that 😊 you're welcome friend
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
Great !!! you save my life
Thanks to you ❤️
Nice video🙌
Thank you! 😊
should i do this video everytime for each project?
Yes there's nothing wrong with it. It's same
@@Ancode2 ok thank you, but for me there is nothing printed at the end idk why
@@manalfathi1216 check the steps. You're probably not choosing the correct activity in logcat
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?
What's the warning?
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
Are you using ADB? Check the errors in stack overflow. It's your device problem I think
@@Ancode2 i tried on other devices too but still no luck.
Stack overflow doesn't have a proper solution
@@Ancode2 what is adb?
I don't know android studio. 😂I am doing as the tutorial video says.(for the sake of college project)
TY very much !!
You're welcome 😊
@@Ancode2 Hi. I have a question. What do you recommend that I have previously installed before importing opencv? (NDK, SDK, JAVA, ETC)
Yes you should install those libraries before importing
@@Ancode2 What versions do you recommend?
@@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
A problem occurred evaluating project ':sdk'.
> Plugin with id 'kotlin-android' not found.
Got this problem while including sdk folder of open cv in gradle settings
Can you help me fix this?
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
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
@@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
Thanks a lot
You're welcome 😊
I napped away... And the main question wasn't answered: How can I finally use Java functions from this?
Watch my further videos
Dear where can i mail you???
here's my instagram id: ankur_nay
@@Ancode2 can you teach me java 😘
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?
8:49 have you included the module file inside gradle.settings?
@@Ancode2 sry, it is 3.3.1, not 3.4.7
@@Ancode2 And the version code of my Android Studio is 2020.3.1 Patch 4, built on November 21, 2021, maybe it matters?
@@雅菊贤辈 I ll recommend you to download it from official site
@@雅菊贤辈 yeah built matters maybe.But this method should work
A problem occurred evaluating project ':sdk'.
> Plugin with id 'kotlin-android' not found.
Cause: zip END header not found