corda / samples-kotlin

This repository contains multiple sample apps, from CorDapps that help you get started, all the way to demonstrating specific features and advanced usage.
51 stars 48 forks source link

Error while deploying nodes after configuring app in android studio #45

Open error335wb opened 2 years ago

error335wb commented 2 years ago

Hi, I am getting error while configuring sample source code application locally. I am following the steps mentioned in official documentation link in given below. Documentation Link: Run a sample CorDapp I have upgraded the gradle to 7.3 and Kotlin version to 1.3 and after that when I run the command to deploy nodes as mentioned in documentation I am getting following error which is in "net.corda.plugins.cordformation" plugin. Error is:

A problem was found with the configuration of task ':deployNodes' (type 'Cordform').

Please Help me to configure the following code. Thanks in advance.

complexmathguy commented 2 years ago

I was using Gradle 7.x before installing Corda and saw the same issue. I noticed the examples used 5.6.4. Modify the grade/wrapper/gradle-wrapper.properties file to use gradle-5.6.4-all.zip and you should be all set.