Skip to content

Getting Started

Ben Brenkman edited this page Jan 23, 2019 · 1 revision

Getting started

The igvc_sensor_app is built using the flutter SDK. Flutter allows us to use the same code base to build mobile apps for both iOS and Android. Go to https://flutter.io/docs/get-started/install and install flutter to work with your development platform.

Cloning

Note: I have designed this start up guide to work with the following prerequisites.

  • Flutter SDK version > 1
  • Android SDK
  • Android Emulator or working Android phone
  • Intellij Idea IDE (optional, Android Studio works just fine)

The above is my recommended setup. If you do not have this setup it my not work with the following instructions.

Open up Intellij or Android Studio, if you have project open close it. On the welcome page select checkout from version control. Make sure you sign into github and then you can select the project or type in https://github.com/BYU-IGVC/igvc_sensor_app.git. Just keep on clicking next on the import configuration wizard that pops up.

Afterwards open up the pubspec.yaml file and click on the 'Packages get' on the top of the editor. This will download all the dependencies to run the project.

Lastly you might need to specify where you have installed your flutter sdk. Make sure that the current run configuration is main.dart and has a blue F icon. Try running, there will be a prompt asking you to specify your flutter SDK path.

Clone this wiki locally