Flutter-geolocator: A problem occurred configuring project ':google_api_availability'.

Created on 17 Oct 2018  路  8Comments  路  Source: Baseflow/flutter-geolocator

馃悰 Bug Report

Including the plugin I get the following error during the compilation time.

  • Error running Gradle:
    Exit code 1 from: myapplication/android/gradlew app:properties:

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':google_api_availability'.
    > Failed to notify project evaluation listener.
    > java.lang.AbstractMethodError (no error message)

Version: 2.1.0

Most helpful comment

The same problem occurred when I add geolocator: '^2.1.0' to the dependencies

All 8 comments

The same problem occurred when I add geolocator: '^2.1.0' to the dependencies

The same problem

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':google_api_availability'.
    > Failed to notify project evaluation listener.
    > java.lang.AbstractMethodError (no error message)

@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 !!!

Was this page helpful?
0 / 5 - 0 ratings