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

Does not work with latest dart ( 2.1) #7

Open
jenicun opened this issue Jan 5, 2019 · 4 comments
Open

Does not work with latest dart ( 2.1) #7

jenicun opened this issue Jan 5, 2019 · 4 comments

Comments

@jenicun
Copy link

jenicun commented Jan 5, 2019

Running "flutter packages get" in admobtest...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.

Because admobtest depends on firebase_analytics >=0.0.2 <0.3.0 which requires SDK version >=1.8.0 <2.0.0, version solving failed.
pub get failed (1)

@muruganandham
Copy link

Remove the version part from firebase_analytics and firebase_admob from dependencies in pubspec.yaml and run the project.

screenshot

@jufarangoma
Copy link

I remove the version from pubsec.yaml whatever i get this error

Dex: Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/auth/zzay; UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/auth/zzay;

Any idea?

@muruganandham
Copy link

muruganandham commented Feb 19, 2019

Update the versions in pubsec.yaml.

google_sign_in: ^4.0.1 firebase_core: ^0.3.0+1 firebase_auth: ^0.8.0+3

It is working in my code. Also please check for any duplications in gradle and iml files.

@JayPerfetto
Copy link

"its working in my code" lol

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

4 participants