Howdy! I hope y'all are well. I'm trying to build a project (
https://github.com/mitakeck/EarPodsForAndroid) I've come across on GitHub recently, but it looks to use a relatively outdated version of Gradle (and JDK) from 2014. I've been able to download the required platforms (Gradle, JDK), but it's been throwing issues throughout the process (calling on outdated repositories, throwing errors about specific functions) and I haven't been able to successfully compile it via the CLI yet.
I've attempted to build the project using a "compatible" setup (the one called upon by the build.gradle file and an equivalent version of JDE). and using a more recent setup with the most recent versions of Gradle (9.2.0) and JDK (25.0.1), neither to much avail. I'm currently attempting the build on Windows 10 through Powershell.
"Recent" setup:
• Gradle 9.2.0
• JDK 25.0.1
• Code run: .\gradle.bat build -p [path to project]
• Error received: Build failed with an exception. [build.gradle] line 5. Could not find method jcenter() for arguments [] on repository container of type org.api.internal.artifacts.dsl.DefaultRepositoryHandler.
"Compatible" setup:
• Gradle 1.12
• JDK 7u80
• Code run: .\gradlew.bat build
• Error received: Build failed with an exception. [app\build.gradle] line 1. Could not create plugin of type 'AppPlugin'.
For "compatible" setup, error previously thrown regarding unavailable repository, resolved by introducing functioning repositories.
End Goal: The program is intended to be an application or driver for Android (.apk), and I am hoping to build it for use in my device.
I apologize if this isn't the right place to ask this, I'm happy to ask anywhere else if it would be better.