flutter-unity-view-widget
flutter-unity-view-widget copied to clipboard
A problem occurred evaluating project ':unity-classes'.
- 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.
Same problem here :(
@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!