Including the plugin I get the following error during the compilation time.
FAILURE: Build failed with an exception.
Version: 2.1.0
The same problem occurred when I add geolocator: '^2.1.0' to the dependencies
The same problem
FAILURE: Build failed with an exception.
@antoninobajeli, @natezhengbne and @arleyduarte, can you send over the contents of your build.gradle and/or gradle-wrapper.properties files?
This is to make sure you are using the correct version of Gradle (and potentially Kotlin). More information can also be found in the posts below:
@mvanbeusekom I think the problem is the version of Gradle. My project is work well.
Thank you.
Please @mvanbeusekom, I make all change of my Gradle and kotlin but i have the same error
I see the same issue. Do you use firebase? I think there is a conflict with the firebase version and the google api versions.
Yes I use cloud_firestore and map_view
@mvanbeusekom I thank you very much.
You helped me in finding the problem solution!
In my case it has been not-sufficient changing the version numbers in build.gradle of gradle,kotlin and/ gradle-wrapper.properties. May be somthing is going wronk in my developer environment.
I solved creating a brand new project, than I changed the default build.gradle,kotlin and/or gradle-wrapper.properties version numbers.
Thanks very much !!!
Most helpful comment
The same problem occurred when I add geolocator: '^2.1.0' to the dependencies