![]() It will look for a file called directoryname.iml in your project root folder (“directoryname” is name of your project directory) If it does not find that file, you show you the error: “Error Loading Project” like this:Īs you see in my case above, the directory name is flutterlocation, however, the git repository had location.iml instead of flutterlocation.iml. Normally, here, Android Studio start loading the Flutter project automatically. Open Android Studio and go to File > Open or Open Existing Android Studio Project I will presume that you already have the Flutter plugin and SDK installed in your Android Studio. Step 2: Open the repository in Android studio You can find the source code of any Dart package on the top right sidebar of their Dart pub page. This knowledge would work with any Flutter Plugin (involving native method invocation or not) Step 1: Download the package The git repo itself was the source code of a Dart package published on. In this tutorial, I will summarize how I imported and successfully ran a Flutter plugin that I cloned from a git repository.
0 Comments
Leave a Reply. |