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

Cannot run main #2

Open
Tusshu opened this issue May 21, 2022 · 5 comments
Open

Cannot run main #2

Tusshu opened this issue May 21, 2022 · 5 comments

Comments

@Tusshu
Copy link

Tusshu commented May 21, 2022

I get following errors

Screen Shot 2022-05-21 at 2 30 23 PM

Screen Shot 2022-05-21 at 2 31 12 PM

@yuto-yuto
Copy link
Owner

@Tusshu I got the same error with Flutter 3. If it is Flutter 2, it should work.
If I upgraded the dependencies, some errors have gone but there are still errors which come from the dependencies.
I can't do anything for them.

@Tusshu
Copy link
Author

Tusshu commented May 23, 2022 via email

@yuto-yuto
Copy link
Owner

@Tusshu
I'm sorry I didn't upgraded all the dependencies. fl_chart and googleapi was not updated then.

I got the following error and it looks what I can fix. I will update if I fix it.

D8: Cannot fit requested classes in a single dex file (# methods: 65610 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 
The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

@yuto-yuto
Copy link
Owner

yuto-yuto commented May 29, 2022

@Tusshu I fixed the problem and the app at least started up on my environment.
Would you please try it again?

@Tusshu
Copy link
Author

Tusshu commented May 29, 2022 via email

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