How to Build & Publish An Android Library

  Рет қаралды 53,725

Philipp Lackner

Philipp Lackner

Күн бұрын

Learn how to build and publish your very own library in Android so that others can include it in their project and benefit from your knowledge.
⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:
pl-coding.com/...
💻 Let me personally review your code and provide individual feedback, so it won't backfire and cost you a fortune in future:
elopage.com/s/...
🎓 Become an industry-ready developer in the Mobile Dev Campus:
pl-coding.com/...
🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":
pl-coding.com/...
Read our weekly Android blog:
pl-coding.com/...
Join this channel to get access to perks:
/ @philipplackner
Get the source code for this video here:
github.com/phi...
Regular live codings on Twitch:
/ philipplackner
Join my Discord server:
/ discord
Regular programming advice on my Instagram page: / _philipplackner_
Checkout my GitHub: github.com/phi...
You like my free content? Here you can buy me a coffee:
www.buymeacoff...

Пікірлер: 118
@codinginflow
@codinginflow 3 жыл бұрын
Finally I can build my hello world library
@alij3fer
@alij3fer 3 жыл бұрын
cool lib 😅🤣
@AhmadBakdash07
@AhmadBakdash07 3 жыл бұрын
😂😂😂😂
@abhimveer7873
@abhimveer7873 3 жыл бұрын
😂😂😂
@efeeeeee212
@efeeeeee212 3 жыл бұрын
yea this is good idea
@efeeeeee212
@efeeeeee212 3 жыл бұрын
@Süleyman Korkmaz hey man:D
@thomaswaldorf2829
@thomaswaldorf2829 3 жыл бұрын
Super useful. I've read about adding modules to projects but have never seen it done. Seems like a great way to template your work.
@RodrigoSalomao-z1h
@RodrigoSalomao-z1h Жыл бұрын
Amazing man! Simple and pretty straight forward! Please keep creating more android content!
@mandroidx1474
@mandroidx1474 3 жыл бұрын
I like the way you choosing the topic for ur videos, every video is very useful, keep it up💚
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks a lot 😊
@BenKadel
@BenKadel 3 жыл бұрын
Mega! By looking for a video like this forever! Thanks Phil!
@alsheikhaminulislam
@alsheikhaminulislam 3 жыл бұрын
how to add Custom domain name jitpack
@chandra_83
@chandra_83 3 жыл бұрын
Super useful. I am able to publish my first lib successfully and use it in other projects.
@medchaa
@medchaa 5 ай бұрын
Please do a video on how to build and publish a kmm library, I face difficulties doing that.
@adarshtechstore
@adarshtechstore Жыл бұрын
I have two questions. 1) why upload the app root module? 2)can we only upload our "Module" and it can run?
@codeya
@codeya 5 ай бұрын
How was it? did you try only uploading the "Module"?
@techmarinar
@techmarinar 3 жыл бұрын
Thanx man you always come with best stuff ,thanx again
@IT_business_in_Russia
@IT_business_in_Russia 2 жыл бұрын
Thank you man! Before this video, i could not find how to fix my problem gradle not resolving the dependency. It turned out we should put the maven{ url... } in the settings.gradle file in repositories{} section
@emmanuelmtera5936
@emmanuelmtera5936 2 жыл бұрын
thank you Philip you made me love jetpack compose
@factpoint00
@factpoint00 Жыл бұрын
Super its really useful you really help me where i am stuck in blocker but its solved now thank you so much
@MobileDeveloper
@MobileDeveloper 3 жыл бұрын
This is exactly what I need :)
@borisshabanov6702
@borisshabanov6702 3 жыл бұрын
Waiting this topic from you =)
@ozdmromer7
@ozdmromer7 10 ай бұрын
One more gold content. Thanks a lot.
@vidyesh
@vidyesh 3 жыл бұрын
Will the library using an older version of compose work in an android project running on newer version of compose? for e.g.library uses compose_version='1.0.2' and project uses compose_version='1.0.3'.
@gastonsaillen
@gastonsaillen Жыл бұрын
That’s why you have the api documentation where you should specify to users which version they should use , and also you should keep your library updated
@GaganDeep-bv6ef
@GaganDeep-bv6ef 3 жыл бұрын
Nicely explained!! Will wait for your next videos. Thanks!!
@feruribeglobant8662
@feruribeglobant8662 2 жыл бұрын
How can I show design created in compose from the library, without my client application contents compose dependencies?
@chx_100
@chx_100 3 жыл бұрын
I was searching for this, thanks a lot
@simbalion1018
@simbalion1018 3 жыл бұрын
All your courses are rare Gems, Hoping to get one of your paid courses.
@PhilippLackner
@PhilippLackner 3 жыл бұрын
Thanks a lot!
@huynhvanthong2118
@huynhvanthong2118 Жыл бұрын
Please guide me how to push the android library module to maven repository (sonatype)
@RupeshKumar-eo1mi
@RupeshKumar-eo1mi 3 жыл бұрын
Thanks for sharing it, now I have also my library ❤️ and I like your All video
@matt-g-recovers
@matt-g-recovers 2 жыл бұрын
It's the concept refresher that I really appreciate anymore but realistically these are the types of things that people are going to be doing 75% of the Android jobs out there. You may be working on some smaller subset or module, but you will definitely need to know how to create libraries import the libraries and use them
@ishaileshmishra
@ishaileshmishra Жыл бұрын
Much better and simple than maven documentation.
@gauravkumar-bs3pf
@gauravkumar-bs3pf Жыл бұрын
I am creating a library in a forked repository. So, can I release the library in the forked repo, or I will have to wait until the PR is merged?
@neronguyenvn2
@neronguyenvn2 Жыл бұрын
please have a video about publish an app because you already have a video about r8 and build release variant too, thank you
@picflight
@picflight Жыл бұрын
How can you create a kotlin class library in Eclipse IDE and import and use in Android studio? Say you want an independent model class library.
@mohhusnimubaraq9346
@mohhusnimubaraq9346 3 жыл бұрын
Thank you phillip, this is what i need
@devOmarAZ
@devOmarAZ 3 жыл бұрын
Following your github I could predict it :3 thx man
@dharamveergupta1305
@dharamveergupta1305 2 жыл бұрын
Does this approach will only work for Jetpack Compose Project? or It will also work for normal Android Projects too?
@PhilippLackner
@PhilippLackner 2 жыл бұрын
For all projects
@dharamveergupta1305
@dharamveergupta1305 2 жыл бұрын
@@PhilippLackner Thanks, it is super useful 👍
@HarshVardhan-s9l
@HarshVardhan-s9l Жыл бұрын
Hey phillip, Great video. Does the same method also work for KMM project. I have my UI in commonMain. Do I have to add yml file to shared or the rootProject folder. I've created xcframework for the shared module which works fine on iOS and created maven local lib to use it in my android app. I need to make the library available through gitlab for android. Does this method work for that?
@technicalwizard2200
@technicalwizard2200 2 жыл бұрын
Sir, I have not understood this, what will have to be added in it artifactId
@rajushingadiya2860
@rajushingadiya2860 2 жыл бұрын
it was amazing and so easy , i have one feedback if possible also explain how to update version, also any cicd pipeline posible make direct release from android studio without going jitpack and do get it everytime.
@sjavokhir
@sjavokhir 3 жыл бұрын
Thank you bro. You saved my day!
@EverythingWithKotlin
@EverythingWithKotlin 3 жыл бұрын
Hey philipp .. can you make a tutorial on how to modularize our project please ?
@GabrieleRugani
@GabrieleRugani 2 жыл бұрын
Hi, which is the right way to publish maven libraty using gradle kts ?
@victormultiverse5799
@victormultiverse5799 3 жыл бұрын
Amazing, what a useful video. You have my like master.
@giovankabisano2266
@giovankabisano2266 Жыл бұрын
Thanks for the great explanation. Just wondering, is this method also applicable for Gitlab? Also how if the repository is private (for internal company usage purpose), can it still become a library?
@Sc2MooDy
@Sc2MooDy 3 жыл бұрын
Thank you very much for another great video. Please do a guide on how to modularise efficiently an app. Many thanks!
@nadilyt
@nadilyt 3 жыл бұрын
Thankyou Thankyou Thankyou 🔥
@storypur
@storypur 3 жыл бұрын
Is Lenovo legion 5 pro good for android and web development purposes? Processor and memory features - • 11th generation, core i7 • 16GB RAM, 1TB SSD • 6GB graphic/ NVIDIA GeForce RTX 3060 Or I should go for MacBook Air or Pro m1 With 16GB unified memory and 1TB SSD...?
@thyagonevessilvestre1248
@thyagonevessilvestre1248 3 жыл бұрын
The Lenovo setup is enough, but with a Mac you can also develop for ios.
@azizxushvaqtov947
@azizxushvaqtov947 2 жыл бұрын
Thanks bro for useful content!
@AtriTripathi
@AtriTripathi 3 жыл бұрын
Waiting for this so long.
@BCS_AAMIRASHRAF
@BCS_AAMIRASHRAF 7 ай бұрын
Thanks👌👌
@kodinganalfians
@kodinganalfians 3 жыл бұрын
Thank you, I love this topic
@pauloCosteira
@pauloCosteira 2 жыл бұрын
Do I Really need to send the module app?
@maskedredstonerproz
@maskedredstonerproz 3 жыл бұрын
I was literally wondering about that a few weeks ago
@NeedNot
@NeedNot Ай бұрын
Thank you I almost died trying to figure out maven
@grazianorizzi8343
@grazianorizzi8343 2 жыл бұрын
I cannot resolve "release(MavenPubblication)" i use Kotlin DSL instead of groovy. What am i doing wrong?
@vjgunasekar9628
@vjgunasekar9628 4 ай бұрын
afterEvaluate { publishing { publications { create("release") { from(components["release"]) groupId = "VijaiGunasekar" artifactId = "ChatLibrary" version = "1.0.0" } } } }
@nilayparikh6693
@nilayparikh6693 3 жыл бұрын
Hello bro I am making one application for doctors in that I got stuck at one point. In my app I have add config of selected multiple diseases and after that by clicking on anyone disease it will redirect to you the another fragment.so this is only for 1 disease I have approx 20 types of disease so for that building 20 fragment is not good. so can you guide me how I have to do that? I am looking forward from helping by you Thank you .
@MichelArcato
@MichelArcato 2 жыл бұрын
hey Philipp! great Vids, Think we can have a demo on how to publish a library from a private bitbucket repository?
@vengateshm2122
@vengateshm2122 3 жыл бұрын
Very helpful. Excellent content.
@dhoncrisley
@dhoncrisley Жыл бұрын
You saved me, thanks 🥰
@NahushaBG
@NahushaBG 11 ай бұрын
Is it possible to make it private so that It can be assessed by the people who are authorized
@ИванИванов-в4н9п
@ИванИванов-в4н9п 3 жыл бұрын
amazing job, bro!
@bgtec516
@bgtec516 3 жыл бұрын
hi philipp ! can you do a video on modularisation
@violenttendency9328
@violenttendency9328 2 жыл бұрын
thanks you for the video!!! i keep getting error "no build artificats found" . Do you have any idea why that might be?
@Hello-me2ue
@Hello-me2ue 5 ай бұрын
in the jitpack build log for your github release there should be another error somewhere above it which is the underlying problem, for me it was sdk.dir is incorrect so I had to use jitpack web ui to specify a linux based directory to my android sdk as jitpack uses linux environment and i use windows. you dont need a jitpack.yml file if you use the web ui called jitpack ci as you can specify all the required directories and parameters there
@devhintsandtips9013
@devhintsandtips9013 3 жыл бұрын
Thanks a lot, super useful
@marcelosilveira9843
@marcelosilveira9843 Жыл бұрын
Isnt working for me, i import and when i try to use the code it doesent appear
@mwdch
@mwdch 2 жыл бұрын
Thanks
@newbiegameplayy
@newbiegameplayy 3 жыл бұрын
Love this topic... 🔥
@GeorgeTrialonis
@GeorgeTrialonis 2 жыл бұрын
Hi Philipp. I have created a new module, 'ClassifyMole', which is a class-file ('ClassifyUtil'') with a function inside, 'classifyImage", which includes a variable carrying a tensorflow light model. I want this function to be shared by 'CameraShootMole' and 'GalleryCheckMole' files in the main app. However, the 'classifyImage' function in the module remains inactive (never used) and the 'classifyImage' portion of line 'ClassifyUtil.classifyImage(image)' in both the above mentioned files of the main app is in red. What should I do to activate the function to be shared? Should I do any changes to build.gradle files? Needles to say that I have imported the new module in both files of the main app, and also included the implement project (':ClassifyMole') line in the build gradle of the main app. Thanks.
@rohitashyogi3044
@rohitashyogi3044 3 жыл бұрын
Thank you man
@tyviroth1319
@tyviroth1319 2 жыл бұрын
Thanks you
@MsCpktnwt
@MsCpktnwt Жыл бұрын
Thanks sir
@redwansharafatkabir9644
@redwansharafatkabir9644 Жыл бұрын
Thanks, man. Your videos are great.
@ИванКурак-п3е
@ИванКурак-п3е 3 жыл бұрын
How make DataPicker in Jetpack Compose?
@amineayachi335
@amineayachi335 2 жыл бұрын
Great thank you!
@alij3fer
@alij3fer 3 жыл бұрын
Good Job bro 😍
@kerala4u312
@kerala4u312 2 жыл бұрын
Tank you
@ishantsharma16
@ishantsharma16 9 ай бұрын
versionCode and versionName not working in my latest project
@cestlacroix
@cestlacroix 2 жыл бұрын
Useful!
@nabazbarzanji3221
@nabazbarzanji3221 3 жыл бұрын
Useful👏
@mateuszu3564
@mateuszu3564 3 жыл бұрын
Great video! Can I build library without app module? I think it can be easily to maintain later. When use in other projects.
@mehulbisht9708
@mehulbisht9708 3 жыл бұрын
video title suggestion: migration from Groovy to Gradle kts
@mister6437
@mister6437 3 жыл бұрын
Why my library is not found in gradle
@CarlosTapia-li6mc
@CarlosTapia-li6mc Жыл бұрын
Good video
@ediotTV
@ediotTV 3 жыл бұрын
Again, I love you
@krzysztoffarys7189
@krzysztoffarys7189 3 жыл бұрын
nice stuff
@madanyadav9387
@madanyadav9387 3 жыл бұрын
Very usefull..
@soundeffectsforyou5928
@soundeffectsforyou5928 3 жыл бұрын
Question: How do you remember so many things? Tips please!
@PhilippLackner
@PhilippLackner 3 жыл бұрын
who says I remember this
@soundeffectsforyou5928
@soundeffectsforyou5928 3 жыл бұрын
I want to learn how can i master in coding??
@ChrisAthanas
@ChrisAthanas 3 жыл бұрын
Froze at 13m in for about 10s
@Ali-hx4yi
@Ali-hx4yi 3 жыл бұрын
Best
@sambhavkhandelwal6470
@sambhavkhandelwal6470 3 жыл бұрын
jitpack is now deprecated
@saadbiniqbal9024
@saadbiniqbal9024 3 жыл бұрын
@CodePursuit
@CodePursuit 4 ай бұрын
Tell us how to create value and generate $$$ with Android
@AlfredGuimaz
@AlfredGuimaz 3 жыл бұрын
lit
@PhilippLackner
@PhilippLackner 3 жыл бұрын
thanks bro
@AtriTripathi
@AtriTripathi 3 жыл бұрын
I see gymshark athelete.
@Tech-To-Logic
@Tech-To-Logic 3 жыл бұрын
Very less informational video, there is no clear information about yml file and those lines you pasted on build.gradle file. Make a video on those in details. What the meaning of those lines you have written and the use case of yml file.
@ardit9988
@ardit9988 3 жыл бұрын
🇬🇧🇽🇰🌟🌟
Publishing an Open Source Library (VLOG)
12:49
CodingWithMitch
Рет қаралды 8 М.
Делаем с Никой слово LOVE !
00:43
Привет, Я Ника!
Рет қаралды 4,5 МЛН
And what’s your height? 😁 @karina-kola
00:10
Andrey Grechka
Рет қаралды 52 МЛН
Full Guide to Jetpack Compose Effect Handlers
24:56
Philipp Lackner
Рет қаралды 102 М.
I Made an Android App in MINUTES with This AI Tool
10:21
Creator Magic
Рет қаралды 308 М.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Philipp Lackner
Рет қаралды 90 М.
I Spent 100 Hours Inside The Pyramids!
21:43
MrBeast
Рет қаралды 81 МЛН
Step-by-Step Guide to Publish your Android Library!
12:12
Charfaoui Younes
Рет қаралды 10 М.
Делаем с Никой слово LOVE !
00:43
Привет, Я Ника!
Рет қаралды 4,5 МЛН