Creating a new project from existing source code

Creating Flutter project from existing source code:

  • download the compressed file uFlutter.zip you purchased from CodeCanyon Envato Market and decompress it in your local disk.

  • decompressed file includes the following folders : 1. Source_Code : include the full project in dart files. 2. Documentation : includes the PDF file explaining how to work with this project. 3. Demo APK : Include APK file to test the app in your Android mobile.

How to Open and run Project

  • Locate the file Source_Code/uFlutter in your local disk

  • There are a couple of approaches to do this in Android Studio.

  • First, is the usual Drag and Drop the project files to Android Studio.

  • But, the preferred and recommended approach is the one we'll go through.

  • Open Android Studio and if no projects were already opened you will be presented with a menu for opening projects or creating a new one. If not, click on File >> Open to be presented with the options.

  • Click on Open an Existing Android Studio Project.

  • Locate the project and Open.

  • Once the project is open, you'll notice various errors. To get rid of all these errors, click on Get Dependencies which is shown above on Android Studio.

  • The universal method to solve such errors across all IDE, is to run the command: 'flutter pub get' in the terminal. This will fetch all the packages and dependencies.

  • This shall solve most Dependency errors in your project and you're ready to start working on it.

Last updated