mikeperri / flutter_sequencer

A Flutter plugin for music sequencing.
Other
90 stars 38 forks source link

Android build issues #11

Open tantzygames opened 3 years ago

tantzygames commented 3 years ago

Building for Android on Windows I had some problems, so I thought it may be helpful to add to the readme.

At first build failed because of missing NDK. I tried adding the NDK to the flutter project, but it added the latest one which was incompatible causing errors with oboe: error: use of undeclared identifier 'assert'

I eventually learned that opening the Android project would prompt me to install the correct NDK.

So my suggestion would be to include something like:

  1. Open a file from the android folder, and choose "Open for Editing in Android Studio"
  2. When prompted, install the NDK and let the Android project build
  3. When it's completed, close the Android project and your flutter project should then build successfully.