flutter-unity-view-widget icon indicating copy to clipboard operation
flutter-unity-view-widget copied to clipboard

A problem occurred evaluating project ':unity-classes'.

Open shubham8170 opened this issue 4 years ago • 2 comments

  • What went wrong: A problem occurred evaluating project ':unity-classes'.

Could not find method maybeCreate() for arguments [default] on project ':unity-classes' of type org.gradle.api.Project. This problem is occurring when I am trying to debug/run my flutter code.

shubham8170 avatar Sep 25 '21 12:09 shubham8170

Same problem here :(

Pabs14324 avatar Oct 07 '21 17:10 Pabs14324

@shubham8170 You might be well past this, but for others who need this, in your unity-classes folder, you have to create a build.gradle file and in it, add the following lines of codes:

configurations.maybeCreate("default") artifacts.add("default", file('unity-classes.jar'))

Hopefully, that helps someone!

fiizzy avatar Jan 11 '22 14:01 fiizzy