I got this when I changed my environment by upgrading my NDK and SDK. I reverted back to ndk version 25.2.9519653 and the issue was fixed for me. I may also have reverted my sdk.