Set up Android SDK Manually for Unity - (Fix Gradle Error)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
If you encounter an error while trying to upload your Unity project to Google Play, and they tell you that the target API level does not meet the required specifications, or if you come across a Gradle error and decide to manually change the API level, follow along as I guide you through the process of upgrading the SDK for Unity. Firstly, navigate to the Android Studio website and download the latest version. Proceed to install the downloaded file. After installation, open Android Studio, go to Tools and select SDK Manager. This will display all installed API Levels, and currently, Android 13 (API 32) is installed. You can find the SDK path at the top; I think in the build-tools folder the API is installed. Now, let's download API 34. Once the download is complete, SDK 34 is installed. However, I guess it's not in the build tools folder let's back and maybe it is installed in the platform. There, you will find API Levels 33 and 34. For Unity, you must first install Android Build Support. Note that by default, it installs API level 32 for Unity 2022. Head to Preferences and then External Tools. Here, you can disable "Android SDK tools installed with Unity" and set the path to the downloaded SDK. or you can copy the downloaded SDK and move it to the default Unity path, which is a recommended approach. With these steps completed, you can build your project, and Unity will automatically set the highest installed SDK for your builds. As an additional tip, you can drag or open the APK file in Android Studio, and the Android manifest will provide information about the APK. Thank you for watching! Don't forget to subscribe for more tips and tutorials. See you next time!
Info
Channel: Game Dev Box
Views: 7,960
Rating: undefined out of 5
Keywords: GolomOder, Learn, game developer, Unity, C#, making games with unity, unity3d tutorials, game development for beginners, unity3d tutorials for beginners, game development tutorials, video game development tutorials, how to make video games, how to make video games in unity3d, video game development, how to download and setup android sdk manually in unity3d, manual setup android sdk unity3d, Install SDK, Android Studio, Gradle Error unity, gamedevbox, 2024, Gradle Unity, SDK unity
Id: 6PY69xSqHKU
Channel Id: undefined
Length: 3min 15sec (195 seconds)
Published: Tue Jan 30 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.