How to Change the API SDK Version in Android Studio

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys I'm going to show you how to change the SDK version in Android Studio for example I have the error when I try to run my application because my virtual device my emulator has API 33 but my project has a lower API version how to fix it I'll show you two ways first way to go to the file then project structure next choose models and here we see compiles Decay version change it to 33 then go to default config and change the target SDK version 2332 and if you need to change the minimum SDK version we can make it here after that press OK and the settings will apply the second way is more convenient for me you can change the SDK version directly in the code to do this go to the Gradle screens then open build Gradle model file and here we see the target SDK updated to 33 then you see a compile SDK set compiles decade version to 33 you can change the minimum SDK here if needed and after all changes click sync now build successful but if you don't have SDK version 33 installed you might get an error how to fix it go to tools then choose SDK manager I have the 30 third SDK installed to install it just check the checkbox hope this video was helpful thanks for watching like subscribe have a good day have a good coding see you soon
Info
Channel: Codex Creator
Views: 36,278
Rating: undefined out of 5
Keywords: how to change target sdk version, how to change api level in android studio, how to check android version in code, how to download sdk in adnroid studio, how to change api level in android app, change api level in android studio project, target sdk level change in android studio, target sdk version for android, change api level android studio, how to change target sdk version in android studio, android studio, android studio tutorial
Id: W1nMZiA-JTQ
Channel Id: undefined
Length: 1min 55sec (115 seconds)
Published: Wed Jan 25 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.