Flutter reinitialize the ios and android folders
Some Flutter libraries provide example flutter apps to demonstrate how to use their library. Sometimes the example projects don’t include the initial ios and android folders. Without the ios folder, you can’t run the example app on ios, and without the android folder, you can’t run the example app on Android. For example, this state management library riverpod, it has examples but it doesn’t have the ios and android folder within their example apps.
To reinitialize/recreate the ios folder, run this command on the root folder of the example app.
flutter create -i swift
To reinitialize/recreate the android folder, run this command on the root folder of the example app.
flutter create -i kotlin
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts