Which Compile Options Should You Choose? (Java & Kotlin Version) - Android Studio Tutorial
ฝัง
- เผยแพร่เมื่อ 21 ต.ค. 2023
- 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:
pl-coding.com/drop-table-ment...
⭐ Courses with real-life practices
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/premium-courses/
Regular programming advice on my Instagram page: / _philipplackner_
Join my Discord server:
/ discord
Thanks for the video. Looking forward for more full KMM tutorials 🤞
Thank you for posting this. I didn't quite understand these options and now I understand them thanks to you.
This was useful. Thanks!
Looks like there's a duplicated cut/clip 3:57 and 4:04
I did a doubletake here too, like didn't we just talk about that version? 😆
Glitch in the matrix ...
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!
Hey Philipp! I like the new background!
Love the new background!
awesome video, thanks man
JDK’s compiler does not compile Kotlin. Kotlin has its own compiler which is actually currently being rewritten (K2)
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 👍
Informative.
Thank you for this theme
Thanks philipp
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
Please, could you make a video on how to record screen
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
Yep, one of the cases where you need to understand what this is for
I always change it to version 17 whenever i use dagger hilt...? I forgot.
thanks. how to set version 17 or 11 to be the default one, before creating the app,?
need to manually change it from the settings
Just what I needed, thanks for this.
What's the risk if an app is on java 17 but not the libraries the app uses?
that should not be a problem since it is back compatible.
What is the name of the outro song?
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
That's correct
Can you please make a video on search bar/ docked search bar
You can also Google it
Need to change the thumbnail!
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..
brain damage happening, Philip,
jaba-jaba-jab-compatible-source-jaba-jaba happening.
The thumbnail contradicts your entire video, so clickbaity
In how far does it contradict the video? It's a fact that these fields often lead to build errors and this video explains why
I kinda think it doesn't. It was just yesterday when I was going through the internet because of such an issue and mixing those gave me the error.
I've had compile errors specifically connected to this issue. And I wouldn't call the thumbnail click baity. It's actually just kind of funny. It says "danger error prone" about something that is kind of error prone, and then the guy is sitting there covering his mouth for a small cough like, "ahem" 😂
Oh... Unless he's using the varying thumbnail feature thing 😐
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
Free Palestine
Thank you
Java king of programming language