How to run flutter application natively on android and ios separately?

Viewed 2142

I am working on flutter application, and i want that application to load and run natively on android studio without flutter sdk separately so that i can put some dependencies of native kotlin or java there and run natively from there.

I copied the android folder from flutter project and create a new native android application from it enter image description here

2 Answers

You can just open android folder in Android Studio and ios folder in Xcode. Flutter tools will generate needed modules for Android Studio project and CocoaPods for iOS project. You can also run and debug your app using native debuggers (Java/C/Objective-C/Swift) from these IDEs.

Then you can easily add dependencies by changing build.gradle of your android application. I think it's a bit more complicated with ios.

Related