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...

Комментарии • 112

  • @codinginflow
    @codinginflow 2 года назад +121

    Finally I can build my hello world library

  • @thomaswaldorf2829
    @thomaswaldorf2829 2 года назад +7

    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.

  • @adarshtechstore
    @adarshtechstore Год назад +2

    I have two questions.
    1) why upload the app root module?
    2)can we only upload our "Module" and it can run?

  • @user-pc1pr9cq9s
    @user-pc1pr9cq9s 10 месяцев назад

    Amazing man! Simple and pretty straight forward! Please keep creating more android content!

  • @ishaileshmishra
    @ishaileshmishra 11 месяцев назад

    Much better and simple than maven documentation.

  • @mandroidx1474
    @mandroidx1474 2 года назад +1

    I like the way you choosing the topic for ur videos, every video is very useful, keep it up💚

  • @ozdmromer7
    @ozdmromer7 4 месяца назад

    One more gold content. Thanks a lot.

  • @BenKadel
    @BenKadel 2 года назад

    Mega! By looking for a video like this forever! Thanks Phil!

  • @SpaceTimeBeing_
    @SpaceTimeBeing_ 2 года назад +2

    Do a video on github actions

  • @vidyesh
    @vidyesh 2 года назад +6

    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'.

    • @gastonsaillen2226
      @gastonsaillen2226 11 месяцев назад

      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

  • @techmarinar
    @techmarinar 2 года назад

    Thanx man you always come with best stuff ,thanx again

  • @chandra_83
    @chandra_83 2 года назад

    Super useful. I am able to publish my first lib successfully and use it in other projects.

  • @GaganDeep-bv6ef
    @GaganDeep-bv6ef 2 года назад

    Nicely explained!!
    Will wait for your next videos.
    Thanks!!

  • @simbalion1018
    @simbalion1018 2 года назад

    All your courses are rare Gems, Hoping to get one of your paid courses.

  • @emmanuelmtera5936
    @emmanuelmtera5936 2 года назад

    thank you Philip you made me love jetpack compose

  • @mattgraves3709
    @mattgraves3709 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

  • @chx_100
    @chx_100 2 года назад

    I was searching for this, thanks a lot

  • @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

  • @MobileDeveloper
    @MobileDeveloper 2 года назад +2

    This is exactly what I need :)

  • @AtriTripathi
    @AtriTripathi 2 года назад

    Waiting for this so long.

  • @factpoint00
    @factpoint00 Год назад

    Super its really useful you really help me where i am stuck in blocker but its solved now thank you so much

  • @mohhusnimubaraq9346
    @mohhusnimubaraq9346 2 года назад

    Thank you phillip, this is what i need

  • @nadilyt
    @nadilyt 2 года назад +1

    Thankyou Thankyou Thankyou 🔥

  • @RupeshKumar-eo1mi
    @RupeshKumar-eo1mi 2 года назад

    Thanks for sharing it, now I have also my library ❤️ and I like your All video

  • @feruribeglobant8662
    @feruribeglobant8662 2 года назад +1

    How can I show design created in compose from the library, without my client application contents compose dependencies?

  • @EverythingWithKotlin
    @EverythingWithKotlin 2 года назад +2

    Hey philipp .. can you make a tutorial on how to modularize our project please ?

  • @sjavokhir
    @sjavokhir 2 года назад

    Thank you bro. You saved my day!

  • @devOmarAZ
    @devOmarAZ 2 года назад

    Following your github I could predict it :3 thx man

  • @victormultiverse5799
    @victormultiverse5799 2 года назад

    Amazing, what a useful video. You have my like master.

  • @vengateshm2122
    @vengateshm2122 2 года назад

    Very helpful. Excellent content.

  • @kodinganalfians
    @kodinganalfians 2 года назад

    Thank you, I love this topic

  • @Sc2MooDy
    @Sc2MooDy 2 года назад

    Thank you very much for another great video. Please do a guide on how to modularise efficiently an app. Many thanks!

  • @user-iq2ic3mh9z
    @user-iq2ic3mh9z 2 года назад

    amazing job, bro!

  • @azizxushvaqtov947
    @azizxushvaqtov947 Год назад

    Thanks bro for useful content!

  • @BCS_AAMIRASHRAF
    @BCS_AAMIRASHRAF 2 месяца назад

    Thanks👌👌

  • @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.

  • @newbiegameplayy
    @newbiegameplayy 2 года назад

    Love this topic... 🔥

  • @dhoncrisley
    @dhoncrisley Год назад

    You saved me, thanks 🥰

  • @devhintsandtips9013
    @devhintsandtips9013 2 года назад

    Thanks a lot, super useful

  • @giovankabisano2266
    @giovankabisano2266 11 месяцев назад

    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?

  • @dharamveergupta1305
    @dharamveergupta1305 2 года назад +1

    Does this approach will only work for Jetpack Compose Project?
    or It will also work for normal Android Projects too?

  • @mwdch
    @mwdch Год назад

    Thanks

  • @storypur
    @storypur 2 года назад

    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...?

  • @maskedredstonerproz
    @maskedredstonerproz 2 года назад

    I was literally wondering about that a few weeks ago

  • @tyviroth1319
    @tyviroth1319 Год назад

    Thanks you

  • @MsCpktnwt
    @MsCpktnwt 6 месяцев назад

    Thanks sir

  • @rohitashyogi3044
    @rohitashyogi3044 2 года назад

    Thank you man

  • @alij3fer
    @alij3fer 2 года назад

    Good Job bro 😍

  • @mehulbisht9708
    @mehulbisht9708 2 года назад

    video title suggestion: migration from Groovy to Gradle kts

  • @MichelArcato
    @MichelArcato 2 года назад

    hey Philipp! great Vids, Think we can have a demo on how to publish a library from a private bitbucket repository?

  • @CarlosTapia-li6mc
    @CarlosTapia-li6mc Год назад

    Good video

  • @amineayachi335
    @amineayachi335 2 года назад

    Great thank you!

  • @cestlacroix
    @cestlacroix Год назад

    Useful!

  • @neronguyenvn
    @neronguyenvn Год назад

    please have a video about publish an app because you already have a video about r8 and build release variant too, thank you

  • @gauravkumar-bs3pf
    @gauravkumar-bs3pf 8 месяцев назад

    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?

  • @bgtec516
    @bgtec516 2 года назад

    hi philipp ! can you do a video on modularisation

  • @kerala4u312
    @kerala4u312 2 года назад

    Tank you

  • @mateuszu3564
    @mateuszu3564 2 года назад +1

    Great video! Can I build library without app module? I think it can be easily to maintain later. When use in other projects.

  • @nabazbarzanji3221
    @nabazbarzanji3221 2 года назад

    Useful👏

  • @redwansharafatkabir9644
    @redwansharafatkabir9644 Год назад

    Thanks, man. Your videos are great.

  • @picflight
    @picflight 11 месяцев назад

    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.

  • @huynhvanthong2118
    @huynhvanthong2118 10 месяцев назад

    Please guide me how to push the android library module to maven repository (sonatype)

  • @marcelosilveira9843
    @marcelosilveira9843 Год назад

    Isnt working for me, i import and when i try to use the code it doesent appear

  • @grazianorizzi8343
    @grazianorizzi8343 Год назад

    I cannot resolve "release(MavenPubblication)" i use Kotlin DSL instead of groovy. What am i doing wrong?

  • @ediotTV
    @ediotTV 2 года назад

    Again, I love you

  • @user-cd8kf9ws9f
    @user-cd8kf9ws9f 8 месяцев назад

    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?

  • @krzysztoffarys7189
    @krzysztoffarys7189 2 года назад

    nice stuff

  • @GeorgeTrialonis
    @GeorgeTrialonis Год назад

    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.

  • @GabrieleRugani
    @GabrieleRugani Год назад

    Hi, which is the right way to publish maven libraty using gradle kts ?

  • @technicalwizard2200
    @technicalwizard2200 Год назад

    Sir, I have not understood this, what will have to be added in it artifactId

  • @ishantsharma16
    @ishantsharma16 4 месяца назад

    versionCode and versionName not working in my latest project

  • @violenttendency9328
    @violenttendency9328 Год назад

    thanks you for the video!!! i keep getting error "no build artificats found" . Do you have any idea why that might be?

  • @user-ts6xy9pe3v
    @user-ts6xy9pe3v 6 месяцев назад

    Is it possible to make it private so that It can be assessed by the people who are authorized

  • @madanyadav9387
    @madanyadav9387 2 года назад

    Very usefull..

  • @ChrisAthanas
    @ChrisAthanas 2 года назад

    Froze at 13m in for about 10s

  • @nilayparikh6693
    @nilayparikh6693 2 года назад

    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 .

  • @user-gv6ih7ct9p
    @user-gv6ih7ct9p 2 года назад

    How make DataPicker in Jetpack Compose?

  • @mister6437
    @mister6437 2 года назад

    Why my library is not found in gradle

  • @pauloCosteira
    @pauloCosteira Год назад

    Do I Really need to send the module app?

  • @Ali-hx4yi
    @Ali-hx4yi 2 года назад

    Best

  • @sambhavkhandelwal6470
    @sambhavkhandelwal6470 2 года назад

    jitpack is now deprecated

  • @soundeffectsforyou5928
    @soundeffectsforyou5928 2 года назад

    Question: How do you remember so many things? Tips please!

  • @alsheikhaminulislam
    @alsheikhaminulislam 2 года назад

    how to add Custom domain name jitpack

  • @saadbiniqbal9024
    @saadbiniqbal9024 2 года назад

  • @AtriTripathi
    @AtriTripathi 2 года назад

    I see gymshark athelete.

  • @AlfredGuimaz
    @AlfredGuimaz 2 года назад

    lit

  • @Tech-To-Logic
    @Tech-To-Logic 2 года назад +2

    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 2 года назад

    🇬🇧🇽🇰🌟🌟