Fresh install of 2021.2.17.f1 whenever I try to build out any game for android. I have done nothing to the install, everything is set as unity has installed it. yes I have android studio installed on my machine. and yes my keystore is signed.
I reinstall and restart my computer and keep getting this error.
I was having the same issue,
I get to fix this by:
The problem with me was, Path Variables not set to Unity installed JDK. Then
I go to Edit > Preferenced > External Tools