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 Жыл бұрын
Really wish people did more tutorials the way that you do. Thank you so much!
@TheDuckter9 ай бұрын
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 Жыл бұрын
Simple and straight to the point.
@fulgencejuniorlohore52172 жыл бұрын
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!
@Flarvain2 жыл бұрын
You're welcome mate glad it was helpful. Good luck with your game making!
@fulgencejuniorlohore52172 жыл бұрын
@@Flarvain Thanks again! Will let you know when it released!
@lyndoniousprime Жыл бұрын
Subbed to the patreon, such a good video saved me heaps of time versus working it out
@amineaitboulman19672 жыл бұрын
This was useful, really clear explanation, thank you sir !
@Flarvain2 жыл бұрын
Glad it was useful! Welcome to the channel :)
@mohanadworld85092 жыл бұрын
@@Flarvain Thanks But it dosent work ?unity start make build but fail to export ?i think we should do somthing in build tools
@merlynguevara26122 жыл бұрын
Very helpful, informative, and well put together!
@Flarvain2 жыл бұрын
Thanks merlyn!
@SkizzoTheYeep Жыл бұрын
This could not have explained any better, thanks.
@Flarvain Жыл бұрын
Thanks mate!
@SkizzoTheYeep Жыл бұрын
@@Flarvain Also, my game is for VR Meta Quest Applab and this STILL FIXED IT!
@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 Жыл бұрын
Thanks tafman, glad the tutorial helped you out :)
@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 Жыл бұрын
Thanks!!! I spent a day because of this trouble. You saved me.
@lanceroygames Жыл бұрын
Dude great video! You helped save me a 4 day headache!
@arbaazkhan59883 жыл бұрын
Awsm bro ...Been looking for it from past two days..And your method worked
@Flarvain3 жыл бұрын
You're welcome!
@random_precision_software Жыл бұрын
Thanks ! Ive subbed and looking forward to more content !!
@Flarvain Жыл бұрын
Thanks!
@takealready2 жыл бұрын
Thank you this still works in 2022.
@Flarvain2 жыл бұрын
Yep! Should keep working into 2023 too :) glad it helped!
@EgoPingvina Жыл бұрын
Ну наконец-то нормальный гайд, который действительно помог, спасибо!
@henrig87082 жыл бұрын
this was great! thank you so much! so well explained and demonstrated
@Flarvain2 жыл бұрын
Thanks henri, appreciate the comment! :)
@dudubertol5 ай бұрын
THANK YOU SO MUCH GUY! I'm becaming crazy trying this alone! Tyyyyy
@irtezamasud10798 ай бұрын
Dude take
@Stinger-rq4gy7 ай бұрын
Thank you for this video, thanks for making these
@ASLWordOfTheDay Жыл бұрын
Perfect! Exactly what I needed, thank you!
@Orsonster2 жыл бұрын
even though this is outdated, this is exactly what i need. (i subbed)
@Flarvain2 жыл бұрын
Thanks orsonster, ive considered making a new version of it, but its all still the same haha. Welcome to the channel!
@Orsonster2 жыл бұрын
@@Flarvain although sometimes unity fails to build a grade daemon... any idea why?
@Flarvain2 жыл бұрын
@@Orsonster hmmm, that isnt necessarily going to be tied to the api level issue. What kind of error message is it giving you?
@Orsonster2 жыл бұрын
@@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.
@Orsonster2 жыл бұрын
@@Flarvain and when it did build correctly, google said it was having a data issue with android NDK
@md.nurulaminoly34292 жыл бұрын
Thank you so much. it's really great way to fix it out.
@Flarvain2 жыл бұрын
You're welcome! Thanks for the kind words :)
@preenxus34252 жыл бұрын
Ohh. Many thanks. It's a very helped me! You saved my day!!
@Flarvain2 жыл бұрын
Not a problem, glad it was useful for you!
@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 Жыл бұрын
Thanks mate, itll support all versions you have installed which would likely be lower versions too yeah :)
@AliGilani8 Жыл бұрын
You are a life saver.
@basiccomponents2 жыл бұрын
Thank you so much, would've never done it without this!
@Flarvain2 жыл бұрын
You're welcome!
@SherwinIRL2 жыл бұрын
Thank you for this guide / tutorial 💜
@Flarvain2 жыл бұрын
You're welcome! Thanks for the comment :)
@marcoseliasmep2 жыл бұрын
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. :(
@loomabox28232 жыл бұрын
Absolutely agree 😒
@christianbalsero2512 жыл бұрын
I love you, man, sincerely
@Flarvain2 жыл бұрын
You're welcome. Im glad it helped :)
@andrej1668 Жыл бұрын
It works! Thank you.
@Flarvain Жыл бұрын
You're welcome!
@qweasdy-pc6ql2 жыл бұрын
Great Tutorial! Subscribed!
@Flarvain2 жыл бұрын
Thanks!
@GamesOfVaibhav2 жыл бұрын
Very quick and very usefull!
@Flarvain2 жыл бұрын
Thanks! Welcome to the channel :)
@pixel0088 Жыл бұрын
Thank you! Seved me a day😀
@Flarvain Жыл бұрын
You're welcome!
@krishnasoni4829 Жыл бұрын
Thank you very much Sir ❤❤
@Flarvain Жыл бұрын
You're welcome!
@guillermemathaeus3 жыл бұрын
Thanks bro, you helped me a lot!
@Flarvain3 жыл бұрын
Happy to help! Welcome to the channel :)
@hugomarcoux35042 жыл бұрын
You saved me a lot of time, thks!
@Flarvain2 жыл бұрын
You're welcome! Welcome to the channel :)
@YAS-vm8ko2 жыл бұрын
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?
@Flarvain2 жыл бұрын
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 Жыл бұрын
After copying platform files, can I uninstall android studio to save space on sdd? Thanks for the Video
@Flarvain Жыл бұрын
Yeah. Once its copied out you could get rid of it if you want :)
@Robot_ManYT2 жыл бұрын
Thanks so much, had a lot of trooble with the android SDK
@Flarvain2 жыл бұрын
You're welcome :)
@lanangyudistira2 жыл бұрын
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
@Flarvain2 жыл бұрын
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
@Flarvain2 жыл бұрын
This comment made my night, thank you :)
@1234yokee2 жыл бұрын
Thank verry so much. You save my life
@Flarvain2 жыл бұрын
No problem naymyo. Good luck with your app!
@dl86842 жыл бұрын
sadly mine says it cant copy since its from another program? any other way. I need api 31+
@Flarvain2 жыл бұрын
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
@galaxydev59532 жыл бұрын
Thank you very much you helped me
@Flarvain2 жыл бұрын
Youre welcome! Glad it was helpful
@ilyasbenyahia26942 жыл бұрын
So useful, Thanks a lot
@Stinger-rq4gy8 ай бұрын
If I get stuck on this process can I ask for your help?
@ansqad2262 жыл бұрын
i did all you said but unity is still not accepting my android 33
@Flarvain2 жыл бұрын
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
@ansqad2262 жыл бұрын
@@Flarvain i upgraded unity from 2020 lts to 2021 lts now your method is working
@funwithsripu925110 ай бұрын
Will this work in Android 14 API 34,tonuse Android 21 (lollipop) version developed App?
@playnews6952 жыл бұрын
Very helpful brother lobe form Bangladesh
@Flarvain2 жыл бұрын
Thanks play news! Appreciate the feedback :)
@rohitvishwakarma92612 жыл бұрын
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 Жыл бұрын
Thank you dear, but I can't build with unity 2018, I should change something like gradle or jdk ...? Thank you
@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!
@ghazalihichame11 ай бұрын
@@Flarvain Thank you very much, sorry I am not a developer 😭.
@Elmorwen Жыл бұрын
Android SDK just breaks and fails to build if I do this.
@aaimamajeed91742 жыл бұрын
hi i'm having the same issue kindly help
@Flarvain2 жыл бұрын
Hi aaima, can you let me know specifically the issue your still having? Thanks!
@Flarvain2 жыл бұрын
@Aaima in the comments is fine or you can come join the discord where you can post screenshotd etc in the code help area :)
@imperator01832 жыл бұрын
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?
@Flarvain2 жыл бұрын
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
@imperator01832 жыл бұрын
@@Flarvain i should be update api levels? how i can it?
@azeemshafique8252 жыл бұрын
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.
@Flarvain2 жыл бұрын
Hey there azeem, are you running on an old version of unity. I think they limit the versions choosable by version of unity aswell
@Funnygamingclips3 жыл бұрын
Great. It worked for me also. Just to download 2gb of Android studio was annoying 😑😑
@Flarvain3 жыл бұрын
Haha. Yeah, some things cant be escaped unfortunately. I prefer it over playing with unitys method of getting them. Welcome to the channel!
@amalam47174 ай бұрын
after using 35 it gives build error
@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 Жыл бұрын
Thanks a lot!!!
@morneerasmus17892 жыл бұрын
Thank you!
@Flarvain2 жыл бұрын
You're welcome!
@TheHeadphonesAreNeeded6 ай бұрын
new sub W vid
@TwiceBox Жыл бұрын
Very helpful
@Flarvain Жыл бұрын
Thanks!
@ListonJiu2 жыл бұрын
Awesome
@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 Жыл бұрын
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.
@ayushagrawal7372 жыл бұрын
thank you for the video, for me after clicking update android sdk in unity, it automatically get updated and build get completed
@joaosouza-gk2mf2 жыл бұрын
muito obrigado!!
@populargamesonline2 жыл бұрын
Is this works for Unity 2019.4.6f1 version?
@Flarvain2 жыл бұрын
Hey there. The version of unity wont have an impact on the this as these are tools used by every version of unity.
@populargamesonline2 жыл бұрын
@@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_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.
@Flarvain3 жыл бұрын
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_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.
@Flarvain3 жыл бұрын
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.
@abhishektyagi39412 жыл бұрын
Now getting this error "CommandInvokationFailure: Gradle build failed." for api level greater than 29 and for 29 it is working perfectly
@Flarvain2 жыл бұрын
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
@abhishektyagi39412 жыл бұрын
@@Flarvain Yes Now I am using the latest version of unity and error resolved. Thankyou
@Jimaniki2 жыл бұрын
Thank you
@tyronemcclanahangames51482 жыл бұрын
I love you so much
@Flarvain2 жыл бұрын
Xoxox
@howchen85293 жыл бұрын
It keeps telling me grade build failed after I did this for some reason T_T
@Flarvain3 жыл бұрын
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 :)
@sheheryarahmed4382 жыл бұрын
Same issue. Did you manage to solve it?
@howchen85292 жыл бұрын
@@sheheryarahmed438 I think I chose android 10 or sth to make it work in the end Can't really help here
@hickeyninetwo3 жыл бұрын
sensei 🙏
@ashenonekenobi42110 ай бұрын
Thanks
@taigorocortez7035 Жыл бұрын
Gracias
@tursturis Жыл бұрын
thanks.
@kevinsihaloho44312 жыл бұрын
if only i found this video faster..
@Flarvain2 жыл бұрын
I know right, people always tend to over complicate these things!
@hatfansr5633 жыл бұрын
Execuse me, sir What about 2018?
@Flarvain3 жыл бұрын
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!
@hatfansr5633 жыл бұрын
@@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 😢
@Flarvain3 жыл бұрын
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
@sweekarkhadka45953 жыл бұрын
Oh so it is over here wasted my life for this...
@Flarvain3 жыл бұрын
Hahah. I feel your pain, did you go down the keytool route? XD
@sweekarkhadka45953 жыл бұрын
@@Flarvain yeah
@Flarvain3 жыл бұрын
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!
@sweekarkhadka45953 жыл бұрын
@@Flarvain yeah mate joined your discord
@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.