How to Build & Publish An Android Library

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

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

  • @codinginflow
    @codinginflow 3 года назад +127

    Finally I can build my hello world library

  • @thomaswaldorf2829
    @thomaswaldorf2829 3 года назад +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.

  • @RodrigoSalomao-z1h
    @RodrigoSalomao-z1h Год назад

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

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

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

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

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

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

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

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

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

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

    • @codeya
      @codeya 3 месяца назад

      How was it? did you try only uploading the "Module"?

  • @vidyesh
    @vidyesh 3 года назад +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'.

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

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

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

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

    Thanx man you always come with best stuff ,thanx again

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

    Much better and simple than maven documentation.

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

    thank you Philip you made me love jetpack compose

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

    One more gold content. Thanks a lot.

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

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

  • @medchaa
    @medchaa 3 месяца назад +1

    Please do a video on how to build and publish a kmm library, I face difficulties doing that.

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

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

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

    I was searching for this, thanks a lot

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

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

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

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

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

    This is exactly what I need :)

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

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

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

    Thank you phillip, this is what i need

  • @huynhvanthong2118
    @huynhvanthong2118 Год назад +1

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

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

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

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

    Thank you bro. You saved my day!

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

    Waiting for this so long.

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

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

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

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

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

    Following your github I could predict it :3 thx man

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

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

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

    I was literally wondering about that a few weeks ago

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

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

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

    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?

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

  • @HarshVardhan-s9l
    @HarshVardhan-s9l 11 месяцев назад

    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?

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

    Thank you, I love this topic

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

    Thankyou Thankyou Thankyou 🔥

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

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

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

    Thanks bro for useful content!

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

    Very helpful. Excellent content.

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

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

  • @ИванИванов-в4н9п
    @ИванИванов-в4н9п 3 года назад

    amazing job, bro!

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

    video title suggestion: migration from Groovy to Gradle kts

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

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

    hi philipp ! can you do a video on modularisation

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

    Thanks a lot, super useful

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

    You saved me, thanks 🥰

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

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

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

    Thank you man

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

    Love this topic... 🔥

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

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

    • @vjgunasekar9628
      @vjgunasekar9628 Месяц назад

      afterEvaluate {
      publishing {
      publications {
      create("release") {
      from(components["release"])
      groupId = "VijaiGunasekar"
      artifactId = "ChatLibrary"
      version = "1.0.0"
      }
      }
      }
      }

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

    Good Job bro 😍

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

    Thanks

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

    Great thank you!

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

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

    Do I Really need to send the module app?

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

    Thanks👌👌

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

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

  • @NahushaBG
    @NahushaBG 9 месяцев назад

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

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

    Thanks you

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

    Thanks sir

  • @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 3 месяца назад

      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

  • @ИванКурак-п3е
    @ИванКурак-п3е 3 года назад

    How make DataPicker in Jetpack Compose?

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

    Useful!

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

    versionCode and versionName not working in my latest project

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

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

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

    how to add Custom domain name jitpack

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

    Tank you

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

    Useful👏

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

    Why my library is not found in gradle

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

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

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

    Good video

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

    Thanks, man. Your videos are great.

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

    Again, I love you

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

    Very usefull..

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

    nice stuff

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

    Froze at 13m in for about 10s

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

    Best

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

    jitpack is now deprecated

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

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

    lit

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

    I see gymshark athelete.

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

    Tell us how to create value and generate $$$ with Android

  • @Tech-To-Logic
    @Tech-To-Logic 3 года назад +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 3 года назад

    🇬🇧🇽🇰🌟🌟