Build error for Android emulator

I am getting this error “Execution failed for task ‘:app:transformNativeLibsWithStripDebugSymbolForDebug’.” when I run “ionic cordova emulate android” in Git Bash. I am not sure why the build is failing and I’ve tried to figure out how to fix it. Any idea how to fix it so the exception isn’t thrown? Thanks.

Im having the same issue has anyone figured this out. Please help

I posted the question on stack and this fixed the problem, just be aware you may get an issue with the emulator after changing NDK versions. See if this works, otherwise reply if it doesnt: