Which Compile Options Should You Choose? (Java & Kotlin Version) - Android Studio Tutorial

preview_player
Показать описание
In this video you'll learn about the compileOptions and kotlinOptions Gradle fields to set both the bytecode as well as the language version. You'll learn the differences and which version you should choose.

💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:

⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

Get my FREE PDF about 20 things you should never do in Jetpack Compose:

Join my Discord server:
Комментарии
Автор

This was useful. Thanks!

Looks like there's a duplicated cut/clip 3:57 and 4:04

jedikv
Автор

Thank you for posting this. I didn't quite understand these options and now I understand them thanks to you.

minutesock
Автор

Thanks for the video. Looking forward for more full KMM tutorials 🤞

kinggeorges
Автор

Hey Philipp! I like the new background!

bidbid
Автор

Top content as usual! I would like to suggest a topic for future videos if you have a chance. Compose theming for multi flavor apps. Thanks for the consiredation!

javimardeveloper
Автор

JDK’s compiler does not compile Kotlin. Kotlin has its own compiler which is actually currently being rewritten (K2)

hktbtw
Автор

225th...Thanks Philipp for having this topic. When I added hilt, I got into trouble on Gradle JDK. I abandoned it but now I will try to get back to it 👍

jopadjr
Автор

in my case i'm using hilt 2.44 and it show errors on 1.8 if update to latest version java 17 no issues works fine

gvharish
Автор

Hi Phillipp, I have set both the "targetCompatibility" and "sourceCompatibility" properties to JavaVersion.VERSION_11. How do I then use Java 11 code features in AS, do I need to download the Java 11 SDK and configure AS to point to it? Thanks

genextapplabs
Автор

Please, could you make a video on how to record screen

archstorm
Автор

Can you please make a video on search bar/ docked search bar

joeldotdias
Автор

I always change it to version 17 whenever i use dagger hilt...? I forgot.

warhammer
Автор

What's the risk if an app is on java 17 but not the libraries the app uses?

abdeoupox
Автор

I though, you were to show as fix the error, because sometimes I create the project and this show the error, before, the way how i had been fixing was with change 1_8 by 17, but I don't know if its bad

juansebastiancadavidperalt
Автор

thanks. how to set version 17 or 11 to be the default one, before creating the app, ?

mobileappsdevware
Автор

Great but there is no logic on how to pick the right versions. Why isn't Android Studio intelligent enough to restrict what I pick for Gradle JDK. I mean the drop-down list should only include they versions that don't result in mismatch errors. That's the worst thing I find in doing Android Development. I know there must be a reason why no logic is there. A lot of trial and error needed..

frankpickerson
Автор

I can see you starting to prefer benifets to your own self and money over your viewer confidence, I really like you but I hope that you will start to look out for someone other than yourself, plesae don't tell me you creating videos and help others and I won't explain what I mean because most people will not get it, in fact I'm the bad guy

dsadsaasd
Автор

The thumbnail contradicts your entire video, so clickbaity

isakthehackervlogs
Автор

brain damage happening, Philip,
happening.

sijanneupane