USB-MIDI-Driver icon indicating copy to clipboard operation
USB-MIDI-Driver copied to clipboard

Trouble adding MidiDriver as a module to a project

Open akoszegi opened this issue 7 years ago • 3 comments

Hi there,

I don't know if this is a bug, but I'm looking for some help with adding MidiDriver to my project. I successfully wrote an Android Library that uses MidiDriver, but now when I add my library to another project I get the build error:

`FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':app'.

    Could not resolve all dependencies for configuration ':app:_debugApkCopy'. Could not find jp.kshoji:javax-sound-midi:0.0.4-SNAPSHOT. Required by: HeronApp:app:unspecified > jp.kshoji:MIDIDriver:unspecified`

I got this error when I was writing my library and fixed it by changing the location of the MidiDriver folder. I don't think that's the issue this time though. Any suggestions or insight would be much appreciated. Thanks!

In case this is helpful: In the Project Structure -> Modules -> MIDIDriver -> Properties, the Library Respository path is 'https://github.com/kshoji/javax.sound.midi-for-Android/raw/develop/javax.sound.midi/repository', mavenCentral

akoszegi avatar Oct 06 '16 18:10 akoszegi

Did you ever find a solution to this? I'm having the same issue.

jrl290 avatar Dec 31 '17 20:12 jrl290

Found the instructions: https://github.com/kshoji/USB-MIDI-Driver/wiki/How-to-setup-the-library-to-the-application

jrl290 avatar Dec 31 '17 20:12 jrl290

Hi every now i can detect only one key from piano how can I detect more than one key please suggest me thank you

https://github.com/ankineri/MidiSheetMusic-Android

anndream avatar Mar 07 '21 11:03 anndream