Re: [Csnd-dev] [EXTERNAL] [Csnd-dev] gradle error

Victor Lazzarini <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <[email protected]>
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 <[email protected]> wrote:
> 
> This seems relevant:
> 
> https://stackoverflow.com/a/79225774
> 
> On Tue, Mar 4, 2025 at 6:51 AM vlz <[email protected]> wrote:
> 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 <[email protected]> wrote:
> > 
> > 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 <[email protected]> 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?
> > I have gradle 8.9
> > 
> > ========================
> > Prof. Victor Lazzarini
> > Maynooth University
> > Ireland
> > 
> > > On 4 Mar 2025, at 10:59, Rory Walsh <[email protected]> wrote:
> > > 
> > > *Warning*
> > > This email originated from outside of Maynooth University's Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.
> > > 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 <[email protected]> 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.
> > > 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
> >
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.