Gradle for Beginners (Build Types, Product Flavors, Build Variants, Source Sets)

Gradle for Beginners (Build Types, Product Flavors, Build Variants, Source Sets)

Philipp Lackner

2 года назад

81,966 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@MrOmsa12
@MrOmsa12 - 14.11.2023 20:21

I did as you did in the tutorial but i could not use freeMinSdk21DebugImplementation, for some reason it did not work for me.

Ответить
@AnB-em9wo
@AnB-em9wo - 12.11.2023 22:27

I recommend you upgrade your microphone. Sound quality on your channel is no good

Ответить
@pickemparty
@pickemparty - 06.09.2023 12:52

Lastly, you didnt cover splits... is there a reason for that?

Ответить
@pickemparty
@pickemparty - 06.09.2023 12:14

Can you show Generating Multiple APKs for Android ABIs (diff CPUs) in Gradle?!

Ответить
@AdityaMishra-cj7kt
@AdityaMishra-cj7kt - 09.08.2023 16:39

Awesome

Ответить
@shabari13
@shabari13 - 05.08.2023 02:42

Thank you for doing this..For a Gradle beginner, this is such a good start

Ответить
@Basirafeef
@Basirafeef - 01.07.2023 04:30

thanks for sharing great knowledge sir.
sir i created an app for multiple people from the same source with different name, themes, server and google's .json configuration file. the problem is when i update one i need to update others too.

is there a why to create multiple apps from the same source with different name, themes, server and google's .json configuration file from one project with different source sets.

thanks.

Ответить
@rapidretrovenue563
@rapidretrovenue563 - 20.06.2023 16:59

does gradle HAVE to be in C drive? I need to move it to D, would that be possible? If so, how do I point to the directory? Thanks in advance everyone!

Ответить
@alannelson4001
@alannelson4001 - 24.05.2023 22:16

Two questions:

1.) How do we define from where the implementations SDKs are pulled from? I know it's usually from maven repository but is it defined in the gradle someplace?

2.) Does anyone have any good resources for establishing a "bypassLogin" build that would have all mock data provided for all API responses?

Ответить
@IacovBlackSky
@IacovBlackSky - 15.05.2023 21:24

I'm completely newby in this topic. And I have problems with run your old and new examples from Github. I don't undestand how people maintains android projects, if when I or someone else try to run this project on his local mashine and need to fight with many buid issues, which is not have relation to real code writing. This is a big pain in my life now...

Ответить
@salmaK20012
@salmaK20012 - 09.05.2023 19:24

Hi, is ktor currently a good choice for backend development?

Ответить
@kushal7966
@kushal7966 - 07.04.2023 10:35

Thanks for the video .. its helpful at right time ....

Ответить
@adcmjbe
@adcmjbe - 20.03.2023 13:11

You do have a way of making complex concepts "almost" simple ;)
Thanks for another great video ...

Ответить
@WeslleyCampos-kw3pm
@WeslleyCampos-kw3pm - 07.03.2023 22:38

Clean Task is no longer necessary, it's default now.

Ответить
@smelkova5826
@smelkova5826 - 27.02.2023 17:23

Thank you so much for this helpful video

Ответить
@MrNDQuattro
@MrNDQuattro - 31.12.2022 10:04

Thanks for the vid.
Why would we need apks with different minSdk? Anyway we need to handle API check logic in code if we use new features.

Ответить
@TheChustek
@TheChustek - 22.11.2022 16:00

OP explanation Philipp, Good Job!

Ответить
@ff2x701
@ff2x701 - 15.11.2022 01:18

Thannkkk Yooouuuuu!!!!

Ответить
@rafaelparanhos7435
@rafaelparanhos7435 - 07.10.2022 00:08

Is there a way to config a flavor with plugin com.android.application and other flavor with com.android.library. If so, how to config it?

Ответить
@cashat
@cashat - 30.09.2022 02:00

Thank you for this awesome video , Wil you organize it with the second video in a playlist?! I couldn't find the other one

Ответить
@astaghfirullahalzimastaghf3648
@astaghfirullahalzimastaghf3648 - 03.09.2022 10:37

bro please help me my gradle wrapper build fails

Ответить
@astaghfirullahalzimastaghf3648
@astaghfirullahalzimastaghf3648 - 03.09.2022 09:48

i want to learn MVVM but i dont understand the code you wrote in the
build.gradle (project) ..
because it involves buildscript object and allprojects object..
in my project it only contains plugins object..so that s why i am here

Ответить
@safionweb
@safionweb - 29.08.2022 08:27

Amazing

Ответить
@axw-ei3fn
@axw-ei3fn - 04.08.2022 16:07

This videos tutorials is very helpful to me .

Ответить
@tiamabderezai5374
@tiamabderezai5374 - 16.07.2022 18:16

Philipp! Make a video explaining build variants and flavors (release, debug, etc) please

Ответить
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 - 28.06.2022 04:10

Awesome, more stupid system for building apps than Gradle I never met. Nice,that somebody tried to explain it.

Ответить
@niroshanrathnayake7002
@niroshanrathnayake7002 - 06.06.2022 07:49

Really helpful. Good one. Thank You

Ответить
@imnithish
@imnithish - 21.05.2022 16:17

🔥

Ответить
@varshabhatia5487
@varshabhatia5487 - 18.05.2022 23:55

Nice video. Thank you.
I have a question: For example in my project I have 4 variants/ product flavours. I have one file which is already created in main folder but I want to use the same file with extra code for different product flavours. So is that possible via source set? I tried it but it won’t work.

Example: I have xyz class in main folder. I cretaed 4 product flavours in build.gradle. Now I want to use the same xyz file with some extra code. I tried to copy and pasted the same file into newly created sourceset folder with some extra connection. But it won’t work that way.

Ответить
@haykmkrtchyan7093
@haykmkrtchyan7093 - 17.05.2022 20:43

Great tutorial. Just one more question. If we have some flavours, do we use source sets to implement the flavour specific functionality? Like one source set for the free app and one source set for the paid one?

Ответить
@AndroidDojo
@AndroidDojo - 13.05.2022 16:25

Wow, this is cool Man, can you create a GradleBasicplaylist please 🙏, this is soooooo important. There are no videos talking about Android Gradle exactly like this 😀.

Ответить
@vinaykumarpatel649
@vinaykumarpatel649 - 02.05.2022 17:07

Thanks

Ответить
@studiomacbookpro159
@studiomacbookpro159 - 29.04.2022 17:17

very nice topic

Ответить
@jjhoninatan55sabadi
@jjhoninatan55sabadi - 27.04.2022 23:04

I wish i could like your video 100 times!

Ответить
@pandukaful
@pandukaful - 25.04.2022 10:35

Thank you for creating this video, it is so helpful mate.

Ответить
@h4ktbtw
@h4ktbtw - 25.04.2022 08:24

Gradle takes endless time to build?
Oh boy, have you ever used Maven to build Java/Kotlin project?

Ответить
@samsammaniamantap
@samsammaniamantap - 25.04.2022 05:54

Thanks Phil, sekarang saya lebih mengerti tentang Flavors

Ответить
@rowenarrow
@rowenarrow - 24.04.2022 19:21

Fantastic video. I learned a lot on something I have wanted to learn about. Got some good notes from this and I am looking forward to watching more of your content.

Ответить
@TerryboyVictor
@TerryboyVictor - 24.04.2022 16:16

On the Minimum SDK part, how do you then upload to the store targeting difference SDK if you can only upload one apk/bundle ?
Or by building it packages both and on installing on individual device, it will target the device API and choose appropriately ?

Ответить
@rajeevkumargupta532
@rajeevkumargupta532 - 24.04.2022 15:38

Content and knowledge, up to the mark as always ❣️

Ответить
@omidphoenix4883
@omidphoenix4883 - 24.04.2022 08:20

Thanks brother! good job! 🙏

Ответить
@dreablin
@dreablin - 23.04.2022 01:23

Thanks, I faced with Flavors just 2 weeks ago on a new job :)
It may be not 100% clear from this video, but you can use different res folders as well.
Waiting for the next part!

Ответить
@adamjacob5482
@adamjacob5482 - 22.04.2022 17:46

Thanks mate, really good content and very helpful as always <3

Ответить
@anandbehera1969
@anandbehera1969 - 22.04.2022 15:07

Helpful Content.. Thanks

Ответить
@ashwinpatidar2878
@ashwinpatidar2878 - 22.04.2022 13:48

Superb Explanation

Ответить
@dariusfathi5520
@dariusfathi5520 - 22.04.2022 12:05

After years of android development, finally I'm going to understand product flavors!
Great work
Thanks

Ответить
@user-kj8xk5qu2x
@user-kj8xk5qu2x - 22.04.2022 06:44

Please Help
I am new to this channel
First I started learning kotlin language and fundamental tutorial and I am currently working on an application. Is the next step to learn Corotin Course or mvvm and add there are two mvvm series on the channel what is the difference between them
thank you philipp

Ответить