ytai / ioio

Software, firmware and hardware of the IOIO - I/O for Android
Apache License 2.0
747 stars 355 forks source link

Implementation problem in android studio #383

Open samrakchan opened 3 months ago

samrakchan commented 3 months ago

Strange issue, implementing the project directly via GitHub is not working:

implementation ("com.github.ytai.ioio:IOIOLibAndroidBluetooth:6.3")
implementation ("com.github.ytai.ioio:IOIOLibAndroidAccessory:6.3")
implementation ("com.github.ytai.ioio:IOIOLibAndroidDevice:6.3")

However, it works if the AAR files are placed in the lib folder:

    implementation files("libs/IOIOLibAndroidAccessory-release.aar")
    implementation files("libs/IOIOLibAndroidBluetooth-release.aar")
    implementation files("libs/IOIOLibAndroidDevice-release.aar")
samrakchan commented 3 months ago

IOIO_issue

hannesa2 commented 3 months ago

What's the definition of "Implementation problem" ?

samrakchan commented 3 months ago

Hi @hannesa2,

I thought I had provided enough context in my previous comments regarding the issue. Apologies if it was insufficient. Let me clarify:

I am having trouble using the dependency with this implementation:

implementation "com.github.ytai.ioio:IOIOLibAndroidBluetooth:6.3"

It doesn't work. However, it does work when I download the AAR file and use it like this:

implementation files("libs/IOIOLibAndroidBluetooth-release.aar") Could you please check the screenshot I uploaded in my previous comment for more details?

Thank you!

hannesa2 commented 3 months ago

I see IOIOLibCore is not published and necessary. Please see https://github.com/ytai/ioio/pull/386 https://jitpack.io/#ytai/ioio/PublishLibCore-SNAPSHOT

hannesa2 commented 3 months ago

Sorry, at least I didn't found a solution.