Update Android SDK to ANY API Level in 5 minutes.

  Рет қаралды 48,064

Flarvain

Flarvain

Күн бұрын

Пікірлер: 168
@zadeh79
@zadeh79 2 жыл бұрын
Really wish Unity would just update the SDK on command. I really hate it when program functions are arbitrarily just broken and people have to work around it. Thanks for the Tut.
@vinnysh5664
@vinnysh5664 Жыл бұрын
Really wish people did more tutorials the way that you do. Thank you so much!
@TheDuckter
@TheDuckter 9 ай бұрын
Thank you so much! Unity's broken SDK API system was driving me crazy as I couldn't upload my game because the API level was not supported but now you have helped me fix this issue, have a great day man! :D
@evenprime1658
@evenprime1658 Жыл бұрын
Simple and straight to the point.
@fulgencejuniorlohore5217
@fulgencejuniorlohore5217 2 жыл бұрын
Thanks buddy! I was facing this issue on the Android SDK and thanks to you I can now move on! Keep it up please It was really useful!
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome mate glad it was helpful. Good luck with your game making!
@fulgencejuniorlohore5217
@fulgencejuniorlohore5217 2 жыл бұрын
@@Flarvain Thanks again! Will let you know when it released!
@lyndoniousprime
@lyndoniousprime Жыл бұрын
Subbed to the patreon, such a good video saved me heaps of time versus working it out
@amineaitboulman1967
@amineaitboulman1967 2 жыл бұрын
This was useful, really clear explanation, thank you sir !
@Flarvain
@Flarvain 2 жыл бұрын
Glad it was useful! Welcome to the channel :)
@mohanadworld8509
@mohanadworld8509 2 жыл бұрын
@@Flarvain Thanks But it dosent work ?unity start make build but fail to export ?i think we should do somthing in build tools
@merlynguevara2612
@merlynguevara2612 2 жыл бұрын
Very helpful, informative, and well put together!
@Flarvain
@Flarvain 2 жыл бұрын
Thanks merlyn!
@SkizzoTheYeep
@SkizzoTheYeep Жыл бұрын
This could not have explained any better, thanks.
@Flarvain
@Flarvain Жыл бұрын
Thanks mate!
@SkizzoTheYeep
@SkizzoTheYeep Жыл бұрын
@@Flarvain Also, my game is for VR Meta Quest Applab and this STILL FIXED IT!
@tafman
@tafman Жыл бұрын
Oh brother, you're a genius and a life saver... Have been trying to solve this API Level problem for a week now and no positive result yet until i watched this your video.... Thanks much for this.... I'm definitely subscribing 🌟 🌟 🌟 🌟 🌟
@Flarvain
@Flarvain Жыл бұрын
Thanks tafman, glad the tutorial helped you out :)
@tafman
@tafman Жыл бұрын
@@Flarvain It's my pleasure 🤝🏽. Please after solving the API Level problem, i encountered another one saying "compilation failed; see the compiler error output for details. See the console for details." Please is there any possible solution for this from your side? Thanks in advance 🤝🏽
@김승종-o3p
@김승종-o3p Жыл бұрын
Thanks!!! I spent a day because of this trouble. You saved me.
@lanceroygames
@lanceroygames Жыл бұрын
Dude great video! You helped save me a 4 day headache!
@arbaazkhan5988
@arbaazkhan5988 3 жыл бұрын
Awsm bro ...Been looking for it from past two days..And your method worked
@Flarvain
@Flarvain 3 жыл бұрын
You're welcome!
@random_precision_software
@random_precision_software Жыл бұрын
Thanks ! Ive subbed and looking forward to more content !!
@Flarvain
@Flarvain Жыл бұрын
Thanks!
@takealready
@takealready 2 жыл бұрын
Thank you this still works in 2022.
@Flarvain
@Flarvain 2 жыл бұрын
Yep! Should keep working into 2023 too :) glad it helped!
@EgoPingvina
@EgoPingvina Жыл бұрын
Ну наконец-то нормальный гайд, который действительно помог, спасибо!
@henrig8708
@henrig8708 2 жыл бұрын
this was great! thank you so much! so well explained and demonstrated
@Flarvain
@Flarvain 2 жыл бұрын
Thanks henri, appreciate the comment! :)
@dudubertol
@dudubertol 5 ай бұрын
THANK YOU SO MUCH GUY! I'm becaming crazy trying this alone! Tyyyyy
@irtezamasud1079
@irtezamasud1079 8 ай бұрын
Dude take
@Stinger-rq4gy
@Stinger-rq4gy 7 ай бұрын
Thank you for this video, thanks for making these
@ASLWordOfTheDay
@ASLWordOfTheDay Жыл бұрын
Perfect! Exactly what I needed, thank you!
@Orsonster
@Orsonster 2 жыл бұрын
even though this is outdated, this is exactly what i need. (i subbed)
@Flarvain
@Flarvain 2 жыл бұрын
Thanks orsonster, ive considered making a new version of it, but its all still the same haha. Welcome to the channel!
@Orsonster
@Orsonster 2 жыл бұрын
@@Flarvain although sometimes unity fails to build a grade daemon... any idea why?
@Flarvain
@Flarvain 2 жыл бұрын
@@Orsonster hmmm, that isnt necessarily going to be tied to the api level issue. What kind of error message is it giving you?
@Orsonster
@Orsonster 2 жыл бұрын
@@Flarvain well im not sure, but i have an idea, i use unity 2019.4.17f1, which is an older version, what im going to do, is copy android api 31 from 2022 version of unity, and then uninstall it, for this version of the api will have command-line-tools, in my case, unity needs.
@Orsonster
@Orsonster 2 жыл бұрын
@@Flarvain and when it did build correctly, google said it was having a data issue with android NDK
@md.nurulaminoly3429
@md.nurulaminoly3429 2 жыл бұрын
Thank you so much. it's really great way to fix it out.
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome! Thanks for the kind words :)
@preenxus3425
@preenxus3425 2 жыл бұрын
Ohh. Many thanks. It's a very helped me! You saved my day!!
@Flarvain
@Flarvain 2 жыл бұрын
Not a problem, glad it was useful for you!
@anlozge1788
@anlozge1788 Жыл бұрын
Great video as always! One little question tho, when we installed API level 30 and 31 it does support below that too, right?
@Flarvain
@Flarvain Жыл бұрын
Thanks mate, itll support all versions you have installed which would likely be lower versions too yeah :)
@AliGilani8
@AliGilani8 Жыл бұрын
You are a life saver.
@basiccomponents
@basiccomponents 2 жыл бұрын
Thank you so much, would've never done it without this!
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome!
@SherwinIRL
@SherwinIRL 2 жыл бұрын
Thank you for this guide / tutorial 💜
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome! Thanks for the comment :)
@marcoseliasmep
@marcoseliasmep 2 жыл бұрын
Thanks for the video, I did that in the past but it is not working to me now :( Using Unity 2020.3 I am having troubles building with Android 13 SDK. Android sucks, they force updating the app with newer SDKs all the time. Sometimes we must update the engine and... Guess what... It comes with a lot of new problems and known issues that may breake certain games. It is so frustrating working with this platform. :(
@loomabox2823
@loomabox2823 2 жыл бұрын
Absolutely agree 😒
@christianbalsero251
@christianbalsero251 2 жыл бұрын
I love you, man, sincerely
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome. Im glad it helped :)
@andrej1668
@andrej1668 Жыл бұрын
It works! Thank you.
@Flarvain
@Flarvain Жыл бұрын
You're welcome!
@qweasdy-pc6ql
@qweasdy-pc6ql 2 жыл бұрын
Great Tutorial! Subscribed!
@Flarvain
@Flarvain 2 жыл бұрын
Thanks!
@GamesOfVaibhav
@GamesOfVaibhav 2 жыл бұрын
Very quick and very usefull!
@Flarvain
@Flarvain 2 жыл бұрын
Thanks! Welcome to the channel :)
@pixel0088
@pixel0088 Жыл бұрын
Thank you! Seved me a day😀
@Flarvain
@Flarvain Жыл бұрын
You're welcome!
@krishnasoni4829
@krishnasoni4829 Жыл бұрын
Thank you very much Sir ❤❤
@Flarvain
@Flarvain Жыл бұрын
You're welcome!
@guillermemathaeus
@guillermemathaeus 3 жыл бұрын
Thanks bro, you helped me a lot!
@Flarvain
@Flarvain 3 жыл бұрын
Happy to help! Welcome to the channel :)
@hugomarcoux3504
@hugomarcoux3504 2 жыл бұрын
You saved me a lot of time, thks!
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome! Welcome to the channel :)
@YAS-vm8ko
@YAS-vm8ko 2 жыл бұрын
There are revisions next to API level. Are these important for our cases. Thank you :) I am also wondering if I need to chance NDKs so on, is it enough to chance SDK in normal condition?
@Flarvain
@Flarvain 2 жыл бұрын
Morning YAS, apologies for the late reply. The ndk version downloads generally come with a compatible version directly from the hub. From a mobile perspective ive only ever been stopped on the sdk as they raise the minimum required level there quite frequently for an aab file. Thanks!
@Guru1106
@Guru1106 Жыл бұрын
After copying platform files, can I uninstall android studio to save space on sdd? Thanks for the Video
@Flarvain
@Flarvain Жыл бұрын
Yeah. Once its copied out you could get rid of it if you want :)
@Robot_ManYT
@Robot_ManYT 2 жыл бұрын
Thanks so much, had a lot of trooble with the android SDK
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome :)
@lanangyudistira
@lanangyudistira 2 жыл бұрын
i have build trouble when i use api 31,32,33 but it's not error when i use api 30. when i checked the android studio i have that api. but still error
@Flarvain
@Flarvain 2 жыл бұрын
Hi lanang, i believe that might be a change in whats in the api level itself as opposed to the method of downloading that api level
@אמיתישלם
@אמיתישלם 2 жыл бұрын
thank u so much man you made my day
@Flarvain
@Flarvain 2 жыл бұрын
This comment made my night, thank you :)
@1234yokee
@1234yokee 2 жыл бұрын
Thank verry so much. You save my life
@Flarvain
@Flarvain 2 жыл бұрын
No problem naymyo. Good luck with your app!
@dl8684
@dl8684 2 жыл бұрын
sadly mine says it cant copy since its from another program? any other way. I need api 31+
@Flarvain
@Flarvain 2 жыл бұрын
Thats strange, we havent had anyone having that issue, what version of unity are you using. And are you sure youve unchecked using unitys inbuilt version
@galaxydev5953
@galaxydev5953 2 жыл бұрын
Thank you very much you helped me
@Flarvain
@Flarvain 2 жыл бұрын
Youre welcome! Glad it was helpful
@ilyasbenyahia2694
@ilyasbenyahia2694 2 жыл бұрын
So useful, Thanks a lot
@Stinger-rq4gy
@Stinger-rq4gy 8 ай бұрын
If I get stuck on this process can I ask for your help?
@ansqad226
@ansqad226 2 жыл бұрын
i did all you said but unity is still not accepting my android 33
@Flarvain
@Flarvain 2 жыл бұрын
Hi Ans Qad, i believe that might be a change in whats in the api level itself as opposed to the method of downloading that api level. Youd be best checking some google play documentation about changes specific to 33 that might mean you need to update your code
@ansqad226
@ansqad226 2 жыл бұрын
@@Flarvain i upgraded unity from 2020 lts to 2021 lts now your method is working
@funwithsripu9251
@funwithsripu9251 10 ай бұрын
Will this work in Android 14 API 34,tonuse Android 21 (lollipop) version developed App?
@playnews695
@playnews695 2 жыл бұрын
Very helpful brother lobe form Bangladesh
@Flarvain
@Flarvain 2 жыл бұрын
Thanks play news! Appreciate the feedback :)
@rohitvishwakarma9261
@rohitvishwakarma9261 2 жыл бұрын
Hi @Flarvain, Do you know anything about this error java.io.IOException: Can't read [/Applications/Unity/Hub/Editor/2020.3.15f2/PlaybackEngines/AndroidPlayer/SDK/platforms/android-33/optional/android.car.jar] (Can't process class [android/car/Car$CarServiceLifecycleListener.class] (Unsupported version number [55.0] (maximum 54.0, Java 10))) See the Console for details.
@ghazalihichame
@ghazalihichame Жыл бұрын
Thank you dear, but I can't build with unity 2018, I should change something like gradle or jdk ...? Thank you
@Flarvain
@Flarvain Жыл бұрын
Hey there, yeah i think 2018 is past LTS so its very likely youll need to upgrade your project. Make sure you take a backup of it first because youll be jumping quite a few major versions. Good luck!
@ghazalihichame
@ghazalihichame 11 ай бұрын
@@Flarvain Thank you very much, sorry I am not a developer 😭.
@Elmorwen
@Elmorwen Жыл бұрын
Android SDK just breaks and fails to build if I do this.
@aaimamajeed9174
@aaimamajeed9174 2 жыл бұрын
hi i'm having the same issue kindly help
@Flarvain
@Flarvain 2 жыл бұрын
Hi aaima, can you let me know specifically the issue your still having? Thanks!
@Flarvain
@Flarvain 2 жыл бұрын
@Aaima in the comments is fine or you can come join the discord where you can post screenshotd etc in the code help area :)
@imperator0183
@imperator0183 2 жыл бұрын
Hi my brother how are you? Bro , i build apk and try to install it to my android phone but apk shows error (writes app not installed) this problem is being some andorid devices. İf i try your api level update tactic, my problem will solution? maybe?
@Flarvain
@Flarvain 2 жыл бұрын
Not one that ive come across before. Keep in mind that as you update api levels older phones will no longer be supported so one reason could be that the phone your using isnt compatible with that version of api level
@imperator0183
@imperator0183 2 жыл бұрын
@@Flarvain i should be update api levels? how i can it?
@azeemshafique825
@azeemshafique825 2 жыл бұрын
I have copied and paste the API 29,30 and 31 folder in my platform folder but I can't see the updated API level in the inspector while drop downing the target API level.
@Flarvain
@Flarvain 2 жыл бұрын
Hey there azeem, are you running on an old version of unity. I think they limit the versions choosable by version of unity aswell
@Funnygamingclips
@Funnygamingclips 3 жыл бұрын
Great. It worked for me also. Just to download 2gb of Android studio was annoying 😑😑
@Flarvain
@Flarvain 3 жыл бұрын
Haha. Yeah, some things cant be escaped unfortunately. I prefer it over playing with unitys method of getting them. Welcome to the channel!
@amalam4717
@amalam4717 4 ай бұрын
after using 35 it gives build error
@user-bo6hw3km6b
@user-bo6hw3km6b Жыл бұрын
hi, for some reason I build my project to Android Studio and now I cant update my SDK, anybody know how can I fix this?
@dersimheimervall2629
@dersimheimervall2629 Жыл бұрын
Thanks a lot!!!
@morneerasmus1789
@morneerasmus1789 2 жыл бұрын
Thank you!
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome!
@TheHeadphonesAreNeeded
@TheHeadphonesAreNeeded 6 ай бұрын
new sub W vid
@TwiceBox
@TwiceBox Жыл бұрын
Very helpful
@Flarvain
@Flarvain Жыл бұрын
Thanks!
@ListonJiu
@ListonJiu 2 жыл бұрын
Awesome
@realreddog8866
@realreddog8866 Жыл бұрын
Hi, I have been through all this video as thought it would solve a strange problem. My game used to work fine when testing on an Android phone but after installing Google mobile ads it no longer opens when I test on my device. If I remove the Google Ads then it runs fine. The apk builds fine either way! any idea what's going on?
@shyamsubin
@shyamsubin Жыл бұрын
your admob id is empty in manifest file, so before each compile make sure you fill in admob id in admob settings in unity. Also you may export the project to android studio and fill in admob id in android studio.
@ayushagrawal737
@ayushagrawal737 2 жыл бұрын
thank you for the video, for me after clicking update android sdk in unity, it automatically get updated and build get completed
@joaosouza-gk2mf
@joaosouza-gk2mf 2 жыл бұрын
muito obrigado!!
@populargamesonline
@populargamesonline 2 жыл бұрын
Is this works for Unity 2019.4.6f1 version?
@Flarvain
@Flarvain 2 жыл бұрын
Hey there. The version of unity wont have an impact on the this as these are tools used by every version of unity.
@populargamesonline
@populargamesonline 2 жыл бұрын
@@Flarvain Im asking because i already done that update for API 31, but after publishing i expirience many crashes in statistics on Android 11 devices. Almost every 11device crashed, when i turned back API to 30 it was ok.
@plejader_
@plejader_ 3 жыл бұрын
Can you install and use your app on an Android 12 device? I tried on a Pixel 4a and can't open the app. Same thing on the emulator.
@Flarvain
@Flarvain 3 жыл бұрын
Are you making a aab file or an apk file? If you're looking to put the install file directly onto a phone you need to create it as an apk, there may also be some phoke settings to allow you to install from untrusted sources. Aab files are the wrapped up apk that handles different bit installs (32 bit, 64 etc). But a normal phone doesnt know how to handle that. Happy to help further over on the discord if needed :) discord.gg/Rascj5vXP8
@plejader_
@plejader_ 3 жыл бұрын
@@Flarvain yes i know that. I build abb file and put it on Google Play Beta Tests, and when I open it on Pixel 4a on Android 12 i have this: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
@Flarvain
@Flarvain 3 жыл бұрын
Hmmm. Not one ive come across before. Looked through some forums and it looks like unity staff have said its not related to core unity. Are you using any other plugins like admob for example? That appears to be an error coming up recently for them, ive always used unityads though so i havent needed to tackle this one.
@abhishektyagi3941
@abhishektyagi3941 2 жыл бұрын
Now getting this error "CommandInvokationFailure: Gradle build failed." for api level greater than 29 and for 29 it is working perfectly
@Flarvain
@Flarvain 2 жыл бұрын
Make sure your version of unity is capable of building higher than level 29. You may need to update your project to a newer version if its old
@abhishektyagi3941
@abhishektyagi3941 2 жыл бұрын
@@Flarvain Yes Now I am using the latest version of unity and error resolved. Thankyou
@Jimaniki
@Jimaniki 2 жыл бұрын
Thank you
@tyronemcclanahangames5148
@tyronemcclanahangames5148 2 жыл бұрын
I love you so much
@Flarvain
@Flarvain 2 жыл бұрын
Xoxox
@howchen8529
@howchen8529 3 жыл бұрын
It keeps telling me grade build failed after I did this for some reason T_T
@Flarvain
@Flarvain 3 жыл бұрын
Hmmm, could you join the discord server and shoot through some screen shots of your error message. Im at work but i should be able to help triage :)
@sheheryarahmed438
@sheheryarahmed438 2 жыл бұрын
Same issue. Did you manage to solve it?
@howchen8529
@howchen8529 2 жыл бұрын
@@sheheryarahmed438 I think I chose android 10 or sth to make it work in the end Can't really help here
@hickeyninetwo
@hickeyninetwo 3 жыл бұрын
sensei 🙏
@ashenonekenobi421
@ashenonekenobi421 10 ай бұрын
Thanks
@taigorocortez7035
@taigorocortez7035 Жыл бұрын
Gracias
@tursturis
@tursturis Жыл бұрын
thanks.
@kevinsihaloho4431
@kevinsihaloho4431 2 жыл бұрын
if only i found this video faster..
@Flarvain
@Flarvain 2 жыл бұрын
I know right, people always tend to over complicate these things!
@hatfansr563
@hatfansr563 3 жыл бұрын
Execuse me, sir What about 2018?
@Flarvain
@Flarvain 3 жыл бұрын
Hey hatfan, what do you mean? For unity 2018.x.x? If so the steps will still be the same, however i dont think unity will have a high enough api option built in for you to publish to google play. I would recommend updating to the latest lts (long term support) version, which should be 2020.x.x or 2021.x.x hope that helps mate, welcome to the channel!
@hatfansr563
@hatfansr563 3 жыл бұрын
@@Flarvain thanks for the fast response. In Unity 2018, there's no recommend SDK, so I just copy SDK Path from Android Studio directly, and if it error. I can't solve it 😢
@Flarvain
@Flarvain 3 жыл бұрын
Hmm ill have to redownload unity 2018 to check but it definitely does exist to tell you the location, it wont look the same as in 2020.x.x or 2021.x.x but it should still be within one of the menus in preferences. Again though, i think you will need to update to a higher version before you are able to publish to the play store. Im not sure if 2018 even had aab files built in? Its likely something else will fail on a version that old though
@sweekarkhadka4595
@sweekarkhadka4595 3 жыл бұрын
Oh so it is over here wasted my life for this...
@Flarvain
@Flarvain 3 жыл бұрын
Hahah. I feel your pain, did you go down the keytool route? XD
@sweekarkhadka4595
@sweekarkhadka4595 3 жыл бұрын
@@Flarvain yeah
@Flarvain
@Flarvain 3 жыл бұрын
Ahh, well im glad you found this then! Should make it alot easier. Welcome to the channel mate :) If you have any questions come join us on the discord!
@sweekarkhadka4595
@sweekarkhadka4595 3 жыл бұрын
@@Flarvain yeah mate joined your discord
@cansvr
@cansvr Жыл бұрын
Hello, do you know how to solve "A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade" error? When i build android on unity it is successful but when i check the Build App Bundle(Google Play), it throws this error. I signed and entered password carefully.
@Trombonaut
@Trombonaut 2 жыл бұрын
Great video, thanks 🎁
@Flarvain
@Flarvain 2 жыл бұрын
Thanks trombonaut, love the profile pic haha
@PineappleBrain
@PineappleBrain 2 жыл бұрын
Very useful video, thankyou!
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome!
@black-out2841
@black-out2841 2 жыл бұрын
thank you
@Flarvain
@Flarvain 2 жыл бұрын
You're welcome!
@MichaelSapir
@MichaelSapir Жыл бұрын
Amazing tutorial,thanks you
@monstermike
@monstermike Жыл бұрын
Thank you
Developer's Guide to Releasing a Unity Game on Google Play
17:21
LlamAcademy
Рет қаралды 16 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 10 МЛН
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 140 МЛН
Fixing the Unity Required API Level Error (fast & easy)
6:54
Mr. Jazz Entertainment
Рет қаралды 278
Learn to Debug Unity in under 5 minutes! | Attached Debugger
5:17
Publishing a Unity Game to Google Play Market in 2021
23:56
MrM Programming
Рет қаралды 74 М.
How To Update Unity to Android API Level 29 (or Greater)
3:23
TOUCH CONTROLS in Unity!
16:09
Brackeys
Рет қаралды 1,3 МЛН
How To Make Your Game Look The Same On All Mobile Screen Sizes - Unity Mobile Game Development
7:50
Awesome Tuts - Anyone Can Learn To Make Games
Рет қаралды 160 М.
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 10 МЛН