Skip to content

Developing the library

Kaoru Shoji edited this page Jan 13, 2015 · 1 revision

Clone the project

  • Open terminal, and execute git clone https://github.com/kshoji/BLE-MIDI-for-Android.
  • Wait a moment for downloading. Then, you can see the BLE-MIDI-for-Android directory.
  • Select Android Studio's Import Project... menu, and choose the BLE-MIDI-for-Android directory.

Update the snapshot

Execute this on the command line, at BLE-MIDI-for-Android/library directory.

../gradlew uploadArchives

This will update local file repository, it doesn't send any files.
Then, xml and aar files are generated in repository directory. Commit these and push to the repository.

Execute gradle manually

You can manually execute gradle build from terminal.
Like this:

  • ./gradlew assembleDebug at BLE-MIDI-for-Android directory
    • This makes building sample.apk