Creating Your First Hello World KMM App (Kotlin Multiplatform Mobile) - KMM for Beginners

  Рет қаралды 111,057

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 252
@TheTuxtrons
@TheTuxtrons 2 жыл бұрын
I deliver my first project as a freelancer past week, couldn't take the second one cause client require also an iOs app. This came in perfect time.
@aakashr79
@aakashr79 Жыл бұрын
Hey Phillip. An OG supporter of your content here. A video on building a KMM library would be sooo massive. This is the best time to be getting into sdk dev for KMM where devs could be adding huge value for the future. A production level tutorial for a library would definitely be a first on KZbin and soooo helpful. Hope this reaches you and we see a video on that soon. Cheers!
@danilodequeiroz9520
@danilodequeiroz9520 Жыл бұрын
👍
@EmanNollase
@EmanNollase 2 жыл бұрын
thanks Philipp! this is just in time. i am also exploring KMM. btw, i am a android and ios native developer. But i was grateful for your videos about jetpack compose. thanks again!
@osisuper98
@osisuper98 2 жыл бұрын
How easy is it to go native on both platforms? Would you recommend it or it’s just better to use KMM for anything iOS related? I am a native Android developer who loves Kotlin and Java so much. The issue is I am quite unsure about choosing between learning iOS native or just sticking with KMM.
@EmanNollase
@EmanNollase 2 жыл бұрын
@@osisuper98 when developing app using KMM, you should have at least a basic knowledge of iOS native or learn iOS development. Because it defeats the purpose of KMM if you want to develop the app on android only. Might as well do a regular android project.
@anudeepananth
@anudeepananth 2 жыл бұрын
Cant tell you how incredibly excited I am for this....
@shelarsameer
@shelarsameer 2 жыл бұрын
Great for me, I just started learning KMM so that I can work on a project at my org. Please release more videos in this playlist.
@arturolatorre371
@arturolatorre371 2 жыл бұрын
This series is gonna be the bomb! I'm all in! Thank you Philipp ❤
@ezefrancatube
@ezefrancatube 2 жыл бұрын
Thank you for your video. It's more updated than official Kotlin docs.
@osisuper98
@osisuper98 2 жыл бұрын
Thank you Philipp! We can’t wait to follow through your KMM series and learn cross platform with you.
@DevRodMastria
@DevRodMastria Жыл бұрын
Great video! I'm also a KZbinr so I would recommend you to edit the closed captions via KZbin Studio > Content > video Details > Subtitles > Duplicate and Edit the Automatic Subtitles > Edit incorrect words like Japan vs Jetpack > Publish > Thanks for the excellent video!
@trocchiettoski
@trocchiettoski 2 жыл бұрын
Really Happy you did this video. When the best Android coach in the world does this video the community think over (with the time) on making KMM better, and we will see compose IOS as flutter with a dedicated library
@davidrauca
@davidrauca 2 жыл бұрын
Hey Philipp, Great work with all of these videos. Keep doing that! It would be nice to see a tutorial in which the KMM part is a library imported in existing Android & iOS projects. I think that would be very interesting and helpful!
@mr.getrighhttt3433
@mr.getrighhttt3433 2 жыл бұрын
I wonder how many times you have said “actually” in this video. Lol great tutorial btw. I Have to create a KMM project for my job, and this helped. Thanks.
@vedx
@vedx 2 жыл бұрын
Finally the wait is over ♥️
@smreha
@smreha 2 жыл бұрын
I am so glad that JetBrains have improved the tooling. Look forward for more videos.
@amirrezaashouri
@amirrezaashouri 2 жыл бұрын
What a magical timing !!! Thanks a lot for the KMM series. I'm currently working on a big project which we want to migrate the business logic and data logic (if it's possible even VMs) into a KMM shared module, I would appreciate if you could dedicate an episode for implementing KMM with existing projects (android and iOS).
@salvadorjohndeniel
@salvadorjohndeniel 2 жыл бұрын
Me too it's for my thesis 😅
@maskedredstonerproz
@maskedredstonerproz 2 жыл бұрын
seeing as how viewmodels usually contain conpose states, that might be...difficult, you'd have to have a dedicated viewmodel for the logic, and one for the compose states, something like MainViewModel for the logic(the one you will share), and a MainStateViewModel(the one for compose state you won't share), I personally think that's too much effort for no benefit because viewmodels are more associated with the ui than anything, and ui is something you don't share, besides, viewmodels tend to be specific to the way things are shown in the ui, which may not be the same on every platform
@afixithei.V
@afixithei.V 2 жыл бұрын
Wow... I haven't given KMM a try before but I so much love the logic behind it. I currently want to build a chat app with it and in the process will learn Swift
@devOmarAZ
@devOmarAZ 2 жыл бұрын
We are all waiting. Thx Philipp ♥
@MCStarYT
@MCStarYT 2 жыл бұрын
Great introductory video. Can't wait for the next one. Keep up the good work 👏
@theophilus494
@theophilus494 2 жыл бұрын
thank you soooooooooooooooo much... at least hope is rising gradually.. cos that's one of the reason I embraced Kotlin
@thierrynkubito8580
@thierrynkubito8580 2 жыл бұрын
I've have learned a lot of of skills from you. be blessed and keep moving forward.
@original_anu
@original_anu 2 жыл бұрын
Great stuff. I'm very excited for this series
@anonymousgaming1194
@anonymousgaming1194 2 жыл бұрын
Perfect timing! Thanks and looking forward to it.
@ahmednashwan8111
@ahmednashwan8111 2 жыл бұрын
😍😍😍😍 please continue I am very happy to see that.
@ak9tgaming714
@ak9tgaming714 8 ай бұрын
Experienced folks, you can skip to the part 05:06 to get started with KMM.
@chegekamau3870
@chegekamau3870 2 жыл бұрын
Thanks a lot, have been waiting for this.
@Sc2MooDy
@Sc2MooDy 2 жыл бұрын
Really interested in KMM, please continue with the playlist 🥰
@baijusharma6027
@baijusharma6027 2 жыл бұрын
That's going to be very interesting 👏👏👏👏
@Soulcybering
@Soulcybering 2 жыл бұрын
KMM is so interesting. Sharing viemodels is the most difficult and interesting topic. I just hope that compose ui will be released soon with iOS support
@ChrisAthanas
@ChrisAthanas 2 жыл бұрын
Dont hold you breath.... Apple is being very stubborn about any kind of cross platform tooling. They are literally like Internet Explorer from Microsoft from 2000-2016
@TheThornTech
@TheThornTech 2 жыл бұрын
Thank you so much! I'm waiting for the next lesson.
@MatiasTesio
@MatiasTesio 6 ай бұрын
Thank you for the video Phillip! Can you do a video about how to create and publish a KMP library that we can then use in an existing Android and iOS native apps? Thanks!
@Subratsss
@Subratsss 5 ай бұрын
Even same things i want
@tmjromao
@tmjromao 2 жыл бұрын
Excelent Philipp! Will try to follow your insightnments and put mac mini to use :)
@nadilyt
@nadilyt 2 жыл бұрын
waiting over 😁
@John-qt6qk
@John-qt6qk 2 жыл бұрын
This is Awesome 💪🏾
@akashkumardas6521
@akashkumardas6521 2 жыл бұрын
Thank you so much, you just make it simple.
@ngolian
@ngolian 2 жыл бұрын
Thanks for all your excellent videos. I'm really looking forward to watching the rest of this series. However, I think cocoapods is going to be a problem. I can't get cocoapods-generate installed, it's just dependency hell. I've had much better experiences with Swift Packages (SPM), and there seems to be a general trend of deprecating cocoapods in favour of SPM. There are some plugins to integrate SPM into KMM, so I'll be trying those instead. Perhaps you could investigate that and make some videos about it? I think that would be helpful to anyone interested in this series.
@mahmoudh3sham
@mahmoudh3sham 2 жыл бұрын
Awesome Keep it up ♥
@sovrinfo
@sovrinfo 2 жыл бұрын
Thanks! Cool video!
@yashjani99
@yashjani99 2 жыл бұрын
first!! but at office, will learn this later when i get back home 😅👌
@denizbutandroid
@denizbutandroid 2 жыл бұрын
exciting!
@moldovanpeter5123
@moldovanpeter5123 2 жыл бұрын
Will you add also KotlinRedux? or it will be basic KMM tutorials?
@myselferbumba
@myselferbumba 2 жыл бұрын
Wow! Nice 👌🏿
@abdallawanjusi
@abdallawanjusi 2 жыл бұрын
Kdoctors says I need to run first build with xcode. Done that but I don't seem to get a pass in kdoctor
@siracseyidov1597
@siracseyidov1597 2 жыл бұрын
Waitong for next part
@mustafaammar551
@mustafaammar551 2 жыл бұрын
Very Cool 👍👍👍👍
@karthikgaddam1146
@karthikgaddam1146 2 жыл бұрын
I request you to please maintain a playlist will be very useful for later. Thanks in advance.
@PhilippLackner
@PhilippLackner 2 жыл бұрын
There is already one I created :)
@deviantstudio
@deviantstudio 2 жыл бұрын
KMM and compose multiplatform is the future!
@redhotbits
@redhotbits 2 жыл бұрын
future of garbage maybe
@nitinnegi9343
@nitinnegi9343 Жыл бұрын
Hey I am getting this error -> ✖ Xcode requires to perform the First Launch tasks Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal. Any help?
@НаврузджонАхмадов
@НаврузджонАхмадов Жыл бұрын
Try this: • open Xcode • Preferenes -> Locations -> Command Line Tools • select Xcode in dropdown
@skydandelion2560
@skydandelion2560 Жыл бұрын
What about job market for these implementation? Do you have any idea?
@gabrielbronzattimoro7953
@gabrielbronzattimoro7953 Жыл бұрын
That is awesome my friend! Thanks for sharing!
@realcrys
@realcrys 2 жыл бұрын
I had the brilliant idea of using a - in my shared module name :D That was the only hiccup. - translates to _ in the Swift import
@4ytonly
@4ytonly 2 жыл бұрын
Wait! Does this mean, you can code swift in android studio????????
@flowzk921
@flowzk921 2 жыл бұрын
Awesome!
@SiamakAshrafi
@SiamakAshrafi Жыл бұрын
XCode 15 review does not have UIKit so, cocopods is old .... not sure if this is a good idea for the future. We build with Swift / SwiftUI / Swift structured concurrency / Swift package manager and know our iOS app will always be supported ...
@charlitowashere5906
@charlitowashere5906 2 жыл бұрын
do you think this will become a standard?? like some big companies launching huge apps for both platforms using KMM? competing with flutter? sounds amazing..
@krystianwiewior8725
@krystianwiewior8725 2 жыл бұрын
It could be. KMM is improved. Flutter is very popular nowadays and it is really easy to build in both. One code.
@SaifaldeenSAH
@SaifaldeenSAH 2 жыл бұрын
So good video of KMM thanks
@EntropicTroponin
@EntropicTroponin 2 жыл бұрын
What bothers me the most is that you need an Apple PC to be able to develop for apple. Seriously Apple: why do you think a monopoly is okay when you do it?
@deviantstudio
@deviantstudio 2 жыл бұрын
i think initial reason was to save some cash. their crappy ide works only in their environment and they decided implementing cross-platform version from scratch would be expensive and technically complicated. then they converted this fail into marketing feature.
@AIejandroide
@AIejandroide 2 жыл бұрын
@@deviantstudio no, it's because they are greedy, and want you to buy their computers.
@Yazon2006
@Yazon2006 2 жыл бұрын
It's because people consume Apple shit with huge enthusiasm and say that this shit is extremely tasty.
@afixithei.V
@afixithei.V 2 жыл бұрын
It annoys me too.. at least they should let devs install a paid version of macos
@avwie132
@avwie132 2 жыл бұрын
There are tons of cloud services which provide compiling and creating iOS artifacts for Apple.
@mikeshilovski1512
@mikeshilovski1512 2 жыл бұрын
At work we have 3 kmm projects and it's pain in the *** supporting it, and it still requires 2 developers to work on it. But I heard now ios part can be written in compose which is probably going to make it much easier
@anudeepananth
@anudeepananth Жыл бұрын
Hey Philipp, does jetpack compose lazy column support data from sql delight?
@PhilippLackner
@PhilippLackner Жыл бұрын
Sure 😅
@David-im1fp
@David-im1fp 2 жыл бұрын
Thanks for great video. I have been using windows for java development. For using android studio with kotlin and intellij IDE, which os (iOS or windows) should I choose for a new computer? Do these IDEs run on iOS as good as on windows? Thanks for advice.
@kevinwestrom4775
@kevinwestrom4775 6 ай бұрын
Is there a similar tool to Brew/Homebrew for the Windows OS?
@NithinVargheseChalakkal
@NithinVargheseChalakkal 2 жыл бұрын
thanks for the video ❤️ KMM or RN or FLUTTR ? Which one will be the preferred one in future? Jus a thought 💭
@moldovanpeter5123
@moldovanpeter5123 2 жыл бұрын
Each have their own pros and cons :) do a research about this topic, and don't forget Xamarin which is still a thing but lacks devs and a good community.
@deviantstudio
@deviantstudio 2 жыл бұрын
we did such research a year ago and chose kmm. never regret. btw we even didn't consider RN as an option. it's not relevant in 2022
@NithinVargheseChalakkal
@NithinVargheseChalakkal 2 жыл бұрын
Seems like many companies moved to RN. Hope Kotlin will come back with KMM in future with support of 🍏.
@testchannel3103
@testchannel3103 2 жыл бұрын
plz make video on sync adapter with roomdatabase
@zhanyshmasirov4611
@zhanyshmasirov4611 2 жыл бұрын
Hallo Philipp konntest du mir bitte antworten, damit KMM app machen die laptop muss MacBook Sein? weil, wir sind benutzen Ios auch , sondern Ios geht nicht mit windows systesm. Konntest du antworten damit, herzlichen Danke dir zu vor
@stankodujakovic3935
@stankodujakovic3935 2 жыл бұрын
I've got a problem with cocoapods, had to instal ruby 2.7, but didn't solve the problem. Now i have ruby 2.7 installed but still getting the error that i have to install it
@TheFabiaWRC
@TheFabiaWRC 2 жыл бұрын
Same problem…
@julianasouza9158
@julianasouza9158 2 жыл бұрын
You need to rollback the version of your xcode or try to do some script in rosseta terminal
@stankodujakovic3935
@stankodujakovic3935 2 жыл бұрын
Turned out that i had to use -rvm use 2.7.2
@ArturoDevA
@ArturoDevA 2 жыл бұрын
@@stankodujakovic3935 how solved? command please
@rohanr4783
@rohanr4783 2 жыл бұрын
Brother can you please teach how to install Mac OS in windows so we can use it to develop apps ios and android
@leroyiunix8948
@leroyiunix8948 2 жыл бұрын
look for hackingtosh
@MithileshSingh-bg8gz
@MithileshSingh-bg8gz 2 ай бұрын
Which platform is best to coding kotlin
@MrPool-yu6op
@MrPool-yu6op 6 ай бұрын
Is it possible to use KMM in Intellij Ultimate for Windows?
@yossimaskin1393
@yossimaskin1393 2 жыл бұрын
Would you focus on the Swift UI part on this Playlist? I think it's the powerful part of KMM but also a big disadvantage for Android or IOS developers to stay up to date with all the newest things of Jetpack compose and Swift UI
@vibovitold
@vibovitold Жыл бұрын
How is SwitfUI a part of KMM?
@LaughTale1993
@LaughTale1993 2 жыл бұрын
Hey Philipp, i am new with Kotlin i was wondered if its possible build a full functional app using only kotlin programming language...if possible as kotlin multiplatform mobile application...thanks
@high_hopes27
@high_hopes27 5 ай бұрын
I don't have a Macbook I hope I can do this in my windows, any suggestion?
@Dragonboh1
@Dragonboh1 Жыл бұрын
for me kdoctor on my mac don't see plugins. It tell me that everything is ok but i don't have kmm plugin installed
@drummerviswa
@drummerviswa 2 жыл бұрын
Hi Phillip, Can you please make a crash course from scratch about Android development through kotlin
@harik5591
@harik5591 2 жыл бұрын
I was using xcode14.0.1 and macos Monterey; when I run kdoctor, I get the message: * Xcode requires to perform the First Launch tasks Launch Xcode or execute 'xcodebuild -runFirstLaunch' in terminal However, I have launched the xcode and ran the startup app; I still get the same message; i can. not find xcodebuuild on my mac ...
@НаврузджонАхмадов
@НаврузджонАхмадов Жыл бұрын
Try this: • open Xcode • Preferenes -> Locations -> Command Line Tools • select Xcode in dropdown
@jorgegasparramirezsegura3266
@jorgegasparramirezsegura3266 7 ай бұрын
Thank you Philipp but I got this error when I try to run on IOS PhaseScriptExecution failed with a nonzero exit code
@daviderwin2808
@daviderwin2808 Жыл бұрын
Hey general question here, what is the best way to go about testing my iOS app if im on windows 10
@ricardomaeda-u4e
@ricardomaeda-u4e 5 ай бұрын
How resolve problem with shared don't find?
@kamertonaudiophileplayer847
@kamertonaudiophileplayer847 2 жыл бұрын
I have an Android project with library written in Java. Should I convert the Java libraries to Kotlin before run the project on iOS?
@TheCodingRaconteur
@TheCodingRaconteur Жыл бұрын
I got this error when running kdoctor: Xcode requires to perform the First Launch tasks. I am not sure why though and I have accepted all licenses for xcode.
@HarlanMukdis
@HarlanMukdis Жыл бұрын
hi phillip my code have same error no such module 'shared' not run
@argahutama
@argahutama 2 жыл бұрын
Cool!
@sumit180288
@sumit180288 2 жыл бұрын
Flutter is a better choice
@thealikilic
@thealikilic 9 ай бұрын
for now
@HamidZaeri
@HamidZaeri 2 жыл бұрын
Hi May I ask how much was apk file size and ipa file also?
@ИгорьВялков-я1ф
@ИгорьВялков-я1ф 2 жыл бұрын
Thank you so much
@siracseyidov1597
@siracseyidov1597 2 жыл бұрын
So Cool
@Denis-gf6iq
@Denis-gf6iq 2 жыл бұрын
Yep all nice and good and thank you for the video, but in terms of cross platform anything beyond Hello World and or getting stuff from the web and displaying it on screen, any hardware integration like Bluetooth will quickly transform these cross platform projects into a huge pain. Native all the way.
@PhilippLackner
@PhilippLackner 2 жыл бұрын
KMM is pretty much native but you need less code to write it. You have 2 separate code bases for native specific things that don't affect each
@figurich
@figurich 2 жыл бұрын
I would like to see one day jetpack compose or swiftui can do web app perfect. Why bother too much between too very different company's native private garden? Most of the big app have their own shared cloud backend, so the ui part is the most cumbersome.
@kamal-i7d1m
@kamal-i7d1m 2 жыл бұрын
can I do KMM project in android studio and give it a run in an ios device ? Will it work ?
@telephon3208
@telephon3208 Жыл бұрын
what is a project where we drag iosApp directory?
@abhisheksaxena8331
@abhisheksaxena8331 2 жыл бұрын
is there a way to use firebase realtime database in KMM?
@friday7510
@friday7510 Жыл бұрын
for worrk with KMM, I need MackBook ?
@mohamedsanoob.k1116
@mohamedsanoob.k1116 2 жыл бұрын
❤️❤️🔥
@serdnahernandez2486
@serdnahernandez2486 2 жыл бұрын
Is kotlin multiplatform mobile ready for production? :'u
@ahmadiyoussef2121
@ahmadiyoussef2121 Жыл бұрын
good joob
@original_anu
@original_anu 2 жыл бұрын
If I have an android app already built with Compose, does it make sense to use KMM to create the ios version?
@PhilippLackner
@PhilippLackner 2 жыл бұрын
Sure
@HerrThomasE
@HerrThomasE Жыл бұрын
Hello, i have had problems to install cocoapods. The solution was: not to install by 'gem install ...', instead do 'brew install cocoapods'
@ahmedshakr7802
@ahmedshakr7802 2 жыл бұрын
Please complete the series of lessons
@DevlogBill
@DevlogBill 2 жыл бұрын
I've coded in the past, almost 1 year now with JavaScript. Do you have a video which explains in detail how to resolve issues when trying to run Koltin? I downloaded Android Studios as well as JetBrains intelliJ. I can't get none of them to run my Kotlin code, maybe I am creating the wrong file? I selected the console version. I even tried to run Kotlin on Visual Studio Code. I created a file called main.kt and after I created my main function and tried to run the code. I got an error message, "kotlinc: command not found" I am assuming that VS-Code is unable to compile the code?
@vish1628
@vish1628 2 жыл бұрын
can we also make web apps with it ?
@k4ba
@k4ba 2 жыл бұрын
There is hope for Kotlin against Dart and Flutter multi platform. So far I like more Flutter, I wish we had Kotlin instead of Dart :c
@Daaaaaaavid
@Daaaaaaavid 2 жыл бұрын
I wonder about the target of KMM, I mean nobody wants to write an app twice but needing two IDEs and at the end needing iOS and Android knowledge to build the app doesn't sound really compeling, don't know how it is supposed to gain market share against for example Flutter.
@PhilippLackner
@PhilippLackner 2 жыл бұрын
Flutter isn't native, kmm is. You therefore can't fully compare them
@Daaaaaaavid
@Daaaaaaavid 2 жыл бұрын
@@PhilippLackner I know, but if you prioritize quality or have the resources I would stick with native iOS and Android, won't even use KMM, if I must prioritize resources then I won't go with KMM, I would go with Flutter.
@deviantstudio
@deviantstudio 2 жыл бұрын
in case of flutter you have to force your devs learn all the stuff from scratch. new framework, new libs, new (and crappy) language. also interop with native is a nightmare. while choosing kmm you continue to do mostly the same things. except business logic now shared and written in kotlin (which is a win itself). and coroutines! also data models layer could be shared with backend. also you can use jetpack compose which will be ported to ios in near 2 years, and already works fine on desktops.
Exploring the KMM Project Structure - KMM for Beginners
14:27
Philipp Lackner
Рет қаралды 28 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Making the Big Kotlin Multiplatform Decision - Sumayyah Ahmed
49:10
Kotlin by JetBrains
Рет қаралды 6 М.
Releasing Faster with Kotlin Multiplatform
32:24
Gradle
Рет қаралды 15 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 60 М.
What Is Kotlin Multiplatform And How Does It Work? - KMP for Beginners
10:17
10 Reasons to Try Kotlin Multiplatform • Pamela Hill • GOTO 2023
48:45
Kotlin за час. Теория и практика.
1:21:33
alishev
Рет қаралды 226 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН