AgeOfMobile / flutter_mapbox

MapBox for Flutter
Other
7 stars 0 forks source link

Build Instructions #2

Open seddonm1 opened 6 years ago

seddonm1 commented 6 years ago

Hi, Just tested with your latest change.

Had to follow these instructions: https://github.com/flutter/flutter/wiki/Updating-Flutter-projects-to-Gradle-4.1-and-Android-Studio-Gradle-plugin-3.0.1#upgrading-a-flutter-plugin-project

so:

Good work. it behaves well 👍

tobrun commented 6 years ago

had similar issue, cloned repo, cd into /example and run flutter run results in:

Nurbot:example Nurbot$ flutter run
Running "flutter packages get" in example...                10.5s
Launching lib/main.dart on Pixel in debug mode...
Initializing gradle...                                          |
Oops; flutter has exited unexpectedly: "Exit code 1 from: /Users/Nurbot/flutter_mapbox/example/android/gradlew -v:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain".

Adding a gradle-wrapper.jar resolved this issue for me