[Csnd-dev] gradle error
Date | 2025-03-03 22:10 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | [Csnd-dev] gradle error |
I installed a new android studio and tried to build the CsoundForAndroid project but then it said I needed to update gradle to 8.9. So I did and now I get this error FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':CsoundAndroid'. > Failed to notify project evaluation listener. > org/gradle/api/plugins/MavenPlugin Any clues? ======================== Prof. Victor Lazzarini Maynooth University Ireland |
Date | 2025-03-04 10:59 |
From | Rory Walsh |
Subject | Re: [Csnd-dev] gradle error |
What version of Gradle are you using, I think the maven plugin has been replaced with another, but differently named maven plugin. I can't recall the name though, I just remember facing a similar problem. The biggest issue I have when building any project for Android Studio is that the toolchain seems to be constantly updating. Actually, a quick search shows this: https://github.com/software-mansion/react-native-reanimated/issues/703 On Mon, 3 Mar 2025 at 22:10, Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote: I installed a new android studio and tried to build the CsoundForAndroid project but then it said I needed to update gradle to 8.9. |
Date | 2025-03-04 11:27 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error |
yes, that much I know, but how can I change the maven plugin? It’s not called in the gradle file, but from somewhere else? I have gradle 8.9 ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 4 Mar 2025, at 10:59, Rory Walsh |
Date | 2025-03-04 11:49 |
From | Rory Walsh |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error |
I assume I'm looking at the old source here: https://github.com/csound/csound/blob/feature/androidfixes/Android/CsoundForAndroid/build.gradle#L42 but this looks like it's trying to use Gradle 4 point something. SHould probably be: com.android.tools.build:gradle:8.9 I can have a look later when I'm back on my Mac. On Tue, 4 Mar 2025 at 11:27, Victor Lazzarini <000010b17ddd988e-dmarc-request@listserv.heanet.ie> wrote: yes, that much I know, but how can I change the maven plugin? It’s not called in the gradle file, but from somewhere else? |
Date | 2025-03-04 11:51 |
From | vlz |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error |
I tried that. It seems to be a different version numbering, the 8.9 is supposed to use 4.x or whatever, if you change it, the package is not found or something. > On 4 Mar 2025, at 11:49, Rory Walsh |
Date | 2025-03-04 19:08 |
From | Steven Yi |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error |
On Tue, Mar 4, 2025 at 6:51 AM vlz <viclazzarini@gmail.com> wrote: I tried that. It seems to be a different version numbering, the 8.9 is supposed to use 4.x or whatever, |
Date | 2025-03-05 13:50 |
From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error |
Thanks, that seemed to clear that issue. Following that I had to add a namespace to each project and then I got a successful build. Now I have to figure out how to test the examples. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 4 Mar 2025, at 19:08, Steven Yi |