Building Your First Compose Multiplatform Hello World App - KMP for Beginners

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

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

  • @cempack
    @cempack 7 месяцев назад +34

    That's awesome you're doing a playlist about kmp right when I need to learn it ! Love it, please continue.

    • @galeontiger
      @galeontiger 7 месяцев назад +1

      This is CMP not KMP. Just to clarify, CMP uses KMP under the hood

  • @morbix3683
    @morbix3683 7 месяцев назад +2

    THIS IS SO EXCITING! THE POSSIBILITIES ARE ENDLESS!

  • @jblacktube
    @jblacktube 7 месяцев назад +4

    I'm so excited for this series! Thank you very much!

  • @arezoonazerdeylami7703
    @arezoonazerdeylami7703 7 месяцев назад +1

    That's awesome! I'm really excited and looking forward to a video on KMP project modularization, umbrella modules, and more. I hope it comes out soon!

  • @TheFlexath
    @TheFlexath 7 месяцев назад +1

    Thank you so much Philipp. Following your ongoing RUclips playlist is a pleasure for me.

  • @baguingi5589
    @baguingi5589 7 месяцев назад +5

    Damm you sure are quick! Love to see it! Question though, have you considered taking a look/making videos about Fleet? It sill needs work but it looks promising for Multiplatform development, not having to change IDEs for development is a time saver.

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

      I have tried Fleet, looks ok but it is just a step backwards.

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

      @@ficc666 I do agree that it's current state leaves too much to be desired, but with time It could prove a great tool.

  • @EvaFreelancer
    @EvaFreelancer 5 месяцев назад +1

    Dude I just came across your Channel. U are amazing 🤩

  • @akobirabduganiev
    @akobirabduganiev 7 месяцев назад +30

    hello from Uzbekistan, I want to learn kmp. I wish you would release more videos on this topic.

    • @jojik681
      @jojik681 7 месяцев назад +5

      Удачи брат, я с России после года-двух видосов филиппа на работу устроился, на ней надеюсь на крепкого мидла через годик выйти.

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

      @@jojik681 спасибо 🤝

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

      @@jojik681нужна помощь не могу запустит ios приложение на мак из android студио пишет Builde ios application failed with code: 65

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

    I am very much excited to learn that one kotlin code can be compiled to Android and iOS. Usually as an developer i am much concerned that i develop apps only for Android, and i don't target iOS users , but this KMP solves all my problems

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

    Enjoyed the detail and depth. Just perfect!

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

    Thanks for providing the relevant knowledge and guidance. We request you for more KMP content. Like from India

  • @TuanPhan-z2y
    @TuanPhan-z2y 6 месяцев назад +1

    Thank you so much, please continue KMP list

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

    finally i come to kotlin , i spend 2 years at least building with flutter and i dont know why but it is known here in this country (france) 0 demand in market , let's try the big boy kotlin and see , seems nice and thank you for your effort

  • @OlegKotetsky
    @OlegKotetsky 4 месяца назад +12

    FOR DESKTOP APP TO START :
    1 - Select Run | Edit Configurations from the main menu.
    2 - Click the plus button and choose Gradle from the dropdown list.
    In the field, paste this command:
    composeApp:run
    Click OK.
    Now, you can use this configuration to run the desktop app in its own OS window:

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

      Works great thanks, I was having trouble with the solution of the video.

  • @顾清l
    @顾清l 7 месяцев назад +2

    It's hard to find videos of KMP's projects, I hope there are more of them!

  • @tiberiusrubicon9261
    @tiberiusrubicon9261 5 месяцев назад +2

    Intresting thing... CMP is not using Native components of over systems - like React Native for iOS. This fw just rendering all components, by it's own lib with pretty suspicious name - Skika. This lib is just API on top of very well known Skia. Yes, the old one rendering engine for Flutter (cause now there is Impeller). So the main difference between CMP and Flutter can be summarized to only topic: Language with real async(Dart) - against language with really big ecosystem(Kotlin). Yes Flutter still have Domokl sword on top of its head, but now it's obvious fact - that Google will just let Flutter exist, only till Compose will catch it up.

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

    Great video! My Execution target list 14:14 is empty, I also have installed xcode. What could it be?

  • @developer.emad.mehrez
    @developer.emad.mehrez 7 месяцев назад

    Thanks for this content man, I love KMP.

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

    Thank you so much. please bring on more videos on Multiplatform. Waiting for more content

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

    its possible work with a module like "android" module with the shared code ? I want to do this and use in 2 or 3 projects in diff platforms each one with his own ui

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

    Wow!!! 👏👏👏.... And web execute?.. Greettings👍😎

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

    Good video. Nice intro to the topic! Thanks!

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

    need help can't run ios app on mac from android studio says Builde ios application failed with code: 65

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

    Hi. So we don’t need a shared module anymore? What’s the purpose of a shared module in a project? Is it deprecated?

  • @germenwong
    @germenwong 7 месяцев назад +1

    If there is no Mac, can Windows development be used

  • @ragulparajuli214
    @ragulparajuli214 7 месяцев назад +1

    Do I need to know jetpack compose before learning compose multi-platform

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

    I am exited for this playlist

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

    Thanks man.. this is what i waiting for..

  • @BouchentoufZakaria
    @BouchentoufZakaria 7 месяцев назад +21

    I love you more than my wife 😂❤

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

    Has any of you solved the problem with the JetBrains @Preview annotation not working on Android Studio? It's hard to code UI blinded

    • @marcofinadri
      @marcofinadri 7 месяцев назад +2

      Unfortunately this is not yet possible (i saw there's an open issue).
      Anyway I found two strategies to see the preview while coding:
      1. Make the UI in another Android project and then copy it to the KMP project
      2. Use Fleet (only) for the UI.
      I hope this helps 🙂

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

      @@marcofinadri Thanks for your response! I tried to use Fleet but some error is no letting it show the preview, instead I created a PreviewHelper file in the androidMain package and also add it to the .gitignore file.

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

    Thank you very much. Does iPhone run on Windows OS in Android Studio. Or needs Mac OS?

    • @unknow.n__
      @unknow.n__ 7 месяцев назад

      you need mac for ios development

  • @JamesBond-mq7pd
    @JamesBond-mq7pd 7 месяцев назад

    WOW.AWESOME.WE GOING TO BE SMART BOYS!

  • @Aditya.Rawat45
    @Aditya.Rawat45 7 месяцев назад

    Hey, are you gonna make a whole series of KMP?

  • @KaranMehta-p8e
    @KaranMehta-p8e 4 месяца назад

    Does KMP support hot reload or something like that?

  • @YvesS-lq5ul
    @YvesS-lq5ul 7 месяцев назад

    Cool 👍 It would be great if you made a video on how to export desktop binaries for example.

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

    With Compose, does the iOS build have native performance? Is it even still native?

  • @lofibeast
    @lofibeast 7 месяцев назад +1

    Hey !! Can You please tell how you stay updated with all these upcoming stuffs like whatever new things/changes comes up...❤
    [ Thanks for making these type of videos as It's very hard to find these video contents of App development ]
    Edit :-
    Can you Also please suggest should I learn Multiplatform directly without Learning Normal android development..The reason is that I can most probably do/learn the android things in Multiplatform too !!
    ❤❤

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

    Hi Philipp,
    super Content auf deinem Channel, einer der besten was Kotlin / Compose angeht, mega was du da auf die Beine stellst. Ich habe ein Problem beim Cross-compile meiner Compose Desktop App. Wie kann ich denn z.B. auf meinem Mac Silicon die App für einen Mac Intel oder einen Windows x64 kompilieren? Im Gradle gibt es ja die entsprechenden Tasks... Aber ich bekomm es nur zum laufen wenn die ausführenden und die Zielplattform die selbe ist.
    Vielleicht hast du mir einen Tipp, oder vielleicht wär das auch ein möglicher Inhalt für ein Video? :)
    Freu mich auf die weiteren Videos in deiner KMP Reihe...
    Beste Grüße
    Mike

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

    I love your video! to run the desktop easier, you can create a script with "./gradlew run" and then add it to the application list, that way you can run it just like Android and iOS.

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

    Hi, Philipp can u make a playlist about CMP like your jetpack compose or just a full app development in CMP please 🙏🏽

  • @thebhagwabilla
    @thebhagwabilla 7 месяцев назад +1

    bro finally started KMP

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

    Hi . First of all thanks for the tutorial. I would like to see more video tutorial about compose Multiplatform. In particular can you implement ML Kit for text recognition Android side and Vision iOS side? Thanks

  • @MuthukumarK-k1p
    @MuthukumarK-k1p 3 месяца назад

    Preview pan is unavailable for KMP projects, How to enable that?

  • @HemanthKumar-e5n
    @HemanthKumar-e5n 7 месяцев назад +1

    Is there any way a Windows user can run iOS apps on iPhone using Android Studio ?

    • @PhilippLackner
      @PhilippLackner  7 месяцев назад +1

      A MacOS virtual machine :D

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

      @@PhilippLackner It's so lag, really need it running in windows

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

    It is so informative. 👍👍

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

    Can you show how the works preview for the Android platform with compose resources? For example, when you're using Res.font.some_font.

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

    does anyone know if you can do the "Kotlin Multiplatform App" when making a new project?

  • @BasantKumar-bg3fg
    @BasantKumar-bg3fg 7 месяцев назад

    Hi Philipp, thanks for making wonderful videos , i always watching your videos and its helped me a lot, i have question and request to you please make a video on data encryption like AES in KMP because i'm searching since long time but i did't found anywhere, i hope you will see my comment and consider to make such videos, thanks in advance.

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

    big thanks❤, could u make a video showing how to integrate kmp to existing project?

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

    Thank you so much, but how to create distributable files exe that can run standalone in any windows machine?

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

    Hey guys, who can show a compose preview from any kotlin file, since I have the composable and preview annotation?

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

    Hello can I run this application on my iPhone real device using android studio its impossible? Thanks 🎉

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

    Hi Philip, some of the code appears to be deprecated.

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

    Hii everyone
    I am beginner with Jetpack Compose
    Should i start learning compose multiplateforme or do i need to spend some time with jetpack ?
    Are they both same ?

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

    Is KMM available for windows now ??????

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

    Is there a roadmap for a beginner to learn kmp, like start with kotlin then,…..

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

    Hi sir,
    I have a custom path, how can i apply 3D (i need x y and z coordinates when i click on 3D button). I would appreciate if you can give me any inputs. I am struck right now. Anyone knows please help me.

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

    Excellent, thanks for the content. Does someone know how we can run the app on TvOS? I tried to play with it, but it didn't work.

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

    Fan of the lackner ❤

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

    So wait, Mac is able to run android studio but we cant run xcode? What the hell?

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

    The best 😉

  • @GG9K71
    @GG9K71 6 месяцев назад +1

    Nice, but how to debug the desktop app?

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

    Please more video about this multi plaform stuff

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

    Finally a beginner video for people like me who don't know Kotlin

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

      Did this help? I’m in the same position now, a beginner, I don’t know kotlin, my goal is to master KMP, any courses that you can recommend?

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

      @@jadmurr7883 I didn't learn Kotlin (well only the basics), I went straight into Flutter and I'm loving it. Once you know Java good enough, Dart and Flutter is easy. Flutter feels like React and Vue, KMP doesn't. KMP feels way more safer to use tho because none of the syntax and code is deprecated, while I'm Flutter, I keep seeing deprecation lines striking through code making it appear greyed out

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

    Thanks bud.

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

    What about fleet ?

  • @math-ezdew
    @math-ezdew 7 месяцев назад +2

    13:20 i got it 😂

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

    Lets goo

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

    Does not support Cocopods !

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

    by June 23d they fixed issue with desktop apps :)

  • @hendoitechnologies
    @hendoitechnologies 5 часов назад

    Sir.. Post Full course for absolute beginners 2025

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

    I don't love the structure they put here: iosApp and composeApp, which itself contains the android and desktop app. How about /project/[androidApp,desktopApp,iosApp] and /project/shared like in the 'old' days.

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

      The iosApp folder is just the entry point for iOS, that's not a folder you usually do something in unless you're writing swift code. All interesting folders for CMP are in composeApp

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

    saya dari indonesia hadir

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

    u should build before u run it

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

    FIRST!!!

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

    17 min for "Hello World" app, No thanks

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

      There should be more videos about KMP in near future