Error:Execution failed for task ‘:app:ndkBuild’.
Process ‘command ‘C:\Users\ABCD\AppData\Local\Android\Sdk\ndk-bundle/ndk-build.cmd’’ finished with non-zero exit value 2
I can’t find anything that says NDK.
Maybe the version? 301
I tried using this in app from another solution and it didnt work
res.srcDirs = [‘src/main/res’]
jniLibs.srcDirs = [‘src/main/jniLibs’]
jni.srcDirs =  // This prevents the auto generation of Android.mk
Maybe a problem here?
I downloaded all the SDK needed and tried disabling and enabling variants, that sometimes works.
I am unexperienced with this software but I need to make it work for my project. If anyone could help I will highly appreciate it.