Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't know what is this issue exactly #29

Closed
aTeamSolace opened this issue Apr 20, 2020 · 8 comments
Closed

Don't know what is this issue exactly #29

aTeamSolace opened this issue Apr 20, 2020 · 8 comments

Comments

@aTeamSolace
Copy link

The plugin google_api_availability doesn't have a main class defined in E:\flutter_installation\flutter.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\android\src\main\java\com\baseflow\googleapiavailability\GoogleApiAvailabilityPlugin.java or E:\flutter_installation\flutter.pub-cache\hosted\pub.dartlang.org\google_api_availability-2.0.4\android\src\main\kotlin\com\baseflow\googleapiavailability\GoogleApiAvailabilityPlugin.kt. This is likely to due to an incorrect androidPackage: com.baseflow.googleapiavailability or mainClass entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the androidPackage entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.

@fysoul17
Copy link
Owner

Hi @aTeamSolace ,

I think the package google_api_availability is related to geolocator package that is used by our package, and I checked geolocator and they updated version recently which seems because of the above issue.

Please update to version 0.9.4 and check if it is working as I updated geolocator's version to newest one in that version.

FYI, both google_api_availability and geolocator are 3rd party packages which means we are limited to handle issues related to it.

@aTeamSolace
Copy link
Author

hi @fysoul17, I updated version to 0.9.4 but still, this issue occurred. I also use flutter clean command and then flutter package get but still occurring.

@fysoul17
Copy link
Owner

Have you tried with an empty project?
I tried with a pure empty project and does not have any issue.

@aTeamSolace
Copy link
Author

no not with an empty project
but I'm working on one client application actually this plugin is worked before some days version 0.9.0 and some changes I had done yesterday then this issue occurred
well ill check, if it solved then okay else, will change code

@fysoul17
Copy link
Owner

In the meantime, try to remove 'pubspec.lock' file and rebuild to see if it still happens.

@aTeamSolace
Copy link
Author

aTeamSolace commented Apr 21, 2020

no sir,
i was removed 'pubspec.lock' this file and then run project not working
actually issue occur with google_map_location_picker This plugin also

@fysoul17
Copy link
Owner

fysoul17 commented Apr 21, 2020

actually issue occur with google_map_location_picker This plugin also

Yes, it is because that plugin also uses geolocator package. The error you are seeing is actually from geolocator package.

I am sorry but I have no idea of what is happening there.
Can you issue this to geolocator package side? I can't ask them since I cannot reproduce it.

@fysoul17
Copy link
Owner

Closing as there is no further update.
Please feel free to re-open if you have an update or an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants