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:
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
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.
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.
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 !! ❤❤
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.
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 ?
@@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
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
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.
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
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
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.
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.
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.
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 🙂
@@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.
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.
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
That's awesome you're doing a playlist about kmp right when I need to learn it ! Love it, please continue.
This is CMP not KMP. Just to clarify, CMP uses KMP under the hood
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:
Works great thanks, I was having trouble with the solution of the video.
THIS IS SO EXCITING! THE POSSIBILITIES ARE ENDLESS!
I'm so excited for this series! Thank you very much!
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
hello from Uzbekistan, I want to learn kmp. I wish you would release more videos on this topic.
Удачи брат, я с России после года-двух видосов филиппа на работу устроился, на ней надеюсь на крепкого мидла через годик выйти.
@@jojik681 спасибо 🤝
@@jojik681нужна помощь не могу запустит ios приложение на мак из android студио пишет Builde ios application failed with code: 65
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!
Thank you so much Philipp. Following your ongoing RUclips playlist is a pleasure for me.
I love you more than my wife 😂❤
😂😂😂
i am trying to contact your wife and send the screenshot of your comment 😂
@@natureandbattle
Nooooo 😂😂😂😂
😂
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.
I have tried Fleet, looks ok but it is just a step backwards.
@@ficc666 I do agree that it's current state leaves too much to be desired, but with time It could prove a great tool.
bro finally started KMP
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.
Dude I just came across your Channel. U are amazing 🤩
It's hard to find videos of KMP's projects, I hope there are more of them!
Enjoyed the detail and depth. Just perfect!
Thanks for providing the relevant knowledge and guidance. We request you for more KMP content. Like from India
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 !!
❤❤
WOW.AWESOME.WE GOING TO BE SMART BOYS!
Thank you so much. please bring on more videos on Multiplatform. Waiting for more content
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.
Thanks for this content man, I love KMP.
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 ?
I am exited for this playlist
Thank you so much, please continue KMP list
Finally a beginner video for people like me who don't know Kotlin
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?
@@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
big thanks❤, could u make a video showing how to integrate kmp to existing project?
Cool 👍 It would be great if you made a video on how to export desktop binaries for example.
Wow!!! 👏👏👏.... And web execute?.. Greettings👍😎
Good video. Nice intro to the topic! Thanks!
Thank you very much. Does iPhone run on Windows OS in Android Studio. Or needs Mac OS?
you need mac for ios development
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.
If there is no Mac, can Windows development be used
Thanks man.. this is what i waiting for..
Hi, Philipp can u make a playlist about CMP like your jetpack compose or just a full app development in CMP please 🙏🏽
Great video! My Execution target list 14:14 is empty, I also have installed xcode. What could it be?
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
Do I need to know jetpack compose before learning compose multi-platform
Yes this is about compose 😅
Hi. So we don’t need a shared module anymore? What’s the purpose of a shared module in a project? Is it deprecated?
Fan of the lackner ❤
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.
Does KMP support hot reload or something like that?
Hey, are you gonna make a whole series of KMP?
Can you show how the works preview for the Android platform with compose resources? For example, when you're using Res.font.some_font.
Thank you so much, but how to create distributable files exe that can run standalone in any windows machine?
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
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
It is so informative. 👍👍
Hello can I run this application on my iPhone real device using android studio its impossible? Thanks 🎉
Thanks bud.
Preview pan is unavailable for KMP projects, How to enable that?
Is there a roadmap for a beginner to learn kmp, like start with kotlin then,…..
Is there any way a Windows user can run iOS apps on iPhone using Android Studio ?
A MacOS virtual machine :D
@@PhilippLackner It's so lag, really need it running in windows
Is KMM available for windows now ??????
need help can't run ios app on mac from android studio says Builde ios application failed with code: 65
13:20 i got it 😂
Hey guys, who can show a compose preview from any kotlin file, since I have the composable and preview annotation?
Please more video about this multi plaform stuff
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.
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.
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.
Nice, but how to debug the desktop app?
The best 😉
Has any of you solved the problem with the JetBrains @Preview annotation not working on Android Studio? It's hard to code UI blinded
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 🙂
@@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.
by June 23d they fixed issue with desktop apps :)
What about fleet ?
So wait, Mac is able to run android studio but we cant run xcode? What the hell?
I asked same question ❓
Lets goo
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.
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
u should build before u run it
Does not support Cocopods !
FIRST!!!
17 min for "Hello World" app, No thanks
There should be more videos about KMP in near future