Error:
sdk / jdk issues while building in unity
Solution:
Make sure android module is installed using unity hub
- installs - correct version of unity
- settings icon on right hand corner of the version
- add modules
- make sure
- android build support
- OpenJDK
- Android SDK and NDK tools are installed
- if adding them doesn’t fix anything, delete and reinstall that version of unity including all these packages