How to Build & Publish An Android Library
HTML-код
- Опубликовано: 21 авг 2024
- 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/...
Subscribe to my newsletter for regular Android, Kotlin & Architecture advice!
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...
Finally I can build my hello world library
cool lib 😅🤣
😂😂😂😂
😂😂😂
yea this is good idea
@Süleyman Korkmaz hey man:D
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.
I have two questions.
1) why upload the app root module?
2)can we only upload our "Module" and it can run?
Amazing man! Simple and pretty straight forward! Please keep creating more android content!
Much better and simple than maven documentation.
I like the way you choosing the topic for ur videos, every video is very useful, keep it up💚
Thanks a lot 😊
One more gold content. Thanks a lot.
Mega! By looking for a video like this forever! Thanks Phil!
Do a video on github actions
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'.
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
Thanx man you always come with best stuff ,thanx again
Super useful. I am able to publish my first lib successfully and use it in other projects.
Nicely explained!!
Will wait for your next videos.
Thanks!!
All your courses are rare Gems, Hoping to get one of your paid courses.
Thanks a lot!
thank you Philip you made me love jetpack compose
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
I was searching for this, thanks a lot
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
This is exactly what I need :)
Waiting this topic from you =)
Waiting for this so long.
Super its really useful you really help me where i am stuck in blocker but its solved now thank you so much
Thank you phillip, this is what i need
Thankyou Thankyou Thankyou 🔥
Thanks for sharing it, now I have also my library ❤️ and I like your All video
How can I show design created in compose from the library, without my client application contents compose dependencies?
Hey philipp .. can you make a tutorial on how to modularize our project please ?
Thank you bro. You saved my day!
Following your github I could predict it :3 thx man
Amazing, what a useful video. You have my like master.
Very helpful. Excellent content.
Thank you, I love this topic
Thank you very much for another great video. Please do a guide on how to modularise efficiently an app. Many thanks!
amazing job, bro!
Thanks bro for useful content!
Thanks👌👌
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.
Love this topic... 🔥
You saved me, thanks 🥰
Thanks a lot, super useful
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?
Does this approach will only work for Jetpack Compose Project?
or It will also work for normal Android Projects too?
For all projects
@@PhilippLackner Thanks, it is super useful 👍
Thanks
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...?
The Lenovo setup is enough, but with a Mac you can also develop for ios.
I was literally wondering about that a few weeks ago
Thanks you
Thanks sir
Thank you man
Good Job bro 😍
video title suggestion: migration from Groovy to Gradle kts
hey Philipp! great Vids, Think we can have a demo on how to publish a library from a private bitbucket repository?
Good video
Great thank you!
Useful!
please have a video about publish an app because you already have a video about r8 and build release variant too, thank you
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?
hi philipp ! can you do a video on modularisation
Tank you
Great video! Can I build library without app module? I think it can be easily to maintain later. When use in other projects.
Useful👏
Thanks, man. Your videos are great.
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.
Please guide me how to push the android library module to maven repository (sonatype)
Isnt working for me, i import and when i try to use the code it doesent appear
I cannot resolve "release(MavenPubblication)" i use Kotlin DSL instead of groovy. What am i doing wrong?
Again, I love you
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?
nice stuff
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.
Hi, which is the right way to publish maven libraty using gradle kts ?
Sir, I have not understood this, what will have to be added in it artifactId
versionCode and versionName not working in my latest project
thanks you for the video!!! i keep getting error "no build artificats found" . Do you have any idea why that might be?
Is it possible to make it private so that It can be assessed by the people who are authorized
Very usefull..
Froze at 13m in for about 10s
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 .
How make DataPicker in Jetpack Compose?
Why my library is not found in gradle
Do I Really need to send the module app?
Best
jitpack is now deprecated
Question: How do you remember so many things? Tips please!
who says I remember this
I want to learn how can i master in coding??
how to add Custom domain name jitpack
✌
I see gymshark athelete.
lit
thanks bro
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.
🇬🇧🇽🇰🌟🌟