Within the Project Settings - Minimum API Level and Target API Level not get loaded anyhow! While I have used all default Unity provided settings to export Android build. Here is the image to illustrate this:
step 1 - Disable all checkmarks in preferences and close editor.
step 2 - Reopen the editor Enable all checkmarks in preferences after that hit the play button.
Now it will start resolving dependencies for android and the problem will be solved
I had the same issue. After I uninstalled Java SE Development Kit version 12, installed version 8 and rebooted, it was solved. Hope it helps you as well.
Hello, i have a similar problem, where i have downloaded and installed the latest jdk, sdk, ndk, and gradle. I set my minimum API key to 26. Iam making an AR app with AR foundation, i have already set everything, but when i hit “build” under the android, i get the same problem of “failed to update sdk package list”
please help me out, guys
For me, removing Java installed with Jenkins solved the problem.
Although there is a checkbox for this in Unity. But it doesn’t always help. On another computer (working server), Jenkins, Java and the Unity build work great together, in the same projects.