unable to find library from dependent library specifier: version

I am trying to build to Android and I get the following error:

LogPlayLevel: Error: ld.lld: error: [path-to-project]/Plugins/[plugin-name]/Intermediate/Build/Android/UE4/Development/[plugin-name]/Module.[plugin-name].cppa7.o: unable to find library from dependent library specifier: version

This happens on both ARMv7 and ARM64. I tried looking up the error message but basically just get development commit messages. Do people know what this actually means and how to solve it?

Thanks.