50ButtonsEach / fliclib-android

Creative Commons Zero v1.0 Universal
33 stars 22 forks source link

Building with Gradle 8-9 #29

Closed arlomedia closed 3 months ago

arlomedia commented 3 months ago

After updating to Gradle version 9 (I skipped 8 but I think the same problem occurs there), my app wouldn't build because FlicManager.java couldn't find IFlicLibInterface and other classes located in src/main/aidl files. The solution is to edit fliclib/build.gradle and add:

buildFeatures {
    aidl true
}

Credit to this StackOverflow post: https://stackoverflow.com/a/77143645/462162