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

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

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

  • @cempack
    @cempack 5 месяцев назад +29

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

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

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

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

    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 2 месяца назад +1

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

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

    THIS IS SO EXCITING! THE POSSIBILITIES ARE ENDLESS!

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

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

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

    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

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

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

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

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

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

      @@jojik681 спасибо 🤝

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

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

  • @arezoonazerdeylami7703
    @arezoonazerdeylami7703 5 месяцев назад +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 5 месяцев назад +1

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

  • @zakariabouchantouf5141
    @zakariabouchantouf5141 5 месяцев назад +16

    I love you more than my wife 😂❤

  • @baguingi5589
    @baguingi5589 5 месяцев назад +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 5 месяцев назад

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

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

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

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

    bro finally started KMP

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

    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.

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

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

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

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

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

    Enjoyed the detail and depth. Just perfect!

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

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

  • @lofibeast
    @lofibeast 5 месяцев назад +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 !!
    ❤❤

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

    WOW.AWESOME.WE GOING TO BE SMART BOYS!

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

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

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

    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.

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

    Thanks for this content man, I love KMP.

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

    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 ?

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

    I am exited for this playlist

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

    Thank you so much, please continue KMP list

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

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

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

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

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

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

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

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

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

  • @DevsSebas
    @DevsSebas 29 дней назад

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

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

    Good video. Nice intro to the topic! Thanks!

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

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

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

      you need mac for ios development

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

    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.

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

    If there is no Mac, can Windows development be used

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

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

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

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

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

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

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

    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

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

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

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

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

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

    Fan of the lackner ❤

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

    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.

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

    Does KMP support hot reload or something like that?

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

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

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

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

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

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

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

    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

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

    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

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

    It is so informative. 👍👍

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

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

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

    Thanks bud.

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

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

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

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

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

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

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

      A MacOS virtual machine :D

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

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

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

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

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

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

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

    13:20 i got it 😂

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

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

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

    Please more video about this multi plaform stuff

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

    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.

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

    Where is the xcode project file coming from? I don't see it anywhere in the video and I want to be able to run it on an IOS emulator. (It's also required when tryin to build an IOS application.

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

      Answer for who else is looking for this: in your project folder there is a folder called iosApp, and that contains the xcodeproject file which you need to have for Xcode project file part.

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

    Nice, but how to debug the desktop app?

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

    The best 😉

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

    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 5 месяцев назад +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 5 месяцев назад

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

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

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

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

    What about fleet ?

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

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

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

    Lets goo

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

    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  5 месяцев назад

      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

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

    u should build before u run it

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

    Does not support Cocopods !

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

    FIRST!!!

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

    17 min for "Hello World" app, No thanks

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

      There should be more videos about KMP in near future