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

add multidex as an android dependency #530

Conversation

brandonguigo
Copy link

Add com.android.support:multidex into android/app/build.gradle to support multidex

Closes: #525

@brandonguigo brandonguigo changed the title fix: add multidex as an android dependency add multidex as an android dependency Feb 5, 2024
@veloce
Copy link
Contributor

veloce commented Feb 7, 2024

I'd like to understand why you have this issue, since there is no problem on my side or with the GitHub action.

Which flutter version do you use? android studio version? thanks.

@brandonguigo
Copy link
Author

brandonguigo commented Feb 7, 2024

Yes of course. I just bought a new laptop so the Flutter and Android installation are brand new.

Flutter: (FVM is used to install the beta channel)

$ fvm use
Project now uses Flutter [beta]

$ flutter --version       
Flutter 3.19.0-14.0.pre.8 • channel master • https://github.com/flutter/flutter.git
Framework • revision 1daac1b875 (8 days ago) • 2024-01-30 10:12:18 -0800
Engine • revision 438e9b4d7d
Tools • Dart 3.4.0 (build 3.4.0-82.0.dev) • DevTools 2.31.0

Android Toolkit: Installed with IntelliJ Idea and the Android Plugin
Android 14.0 ("UpsideDownCake") - API 34
Android SDK Build tools 34
NDK
Android SDK Command line tools (latest)
Android Emulator - Version 33.1.24
Android SDK Platform Tools - Version 34.0.5

I run the app on a Pixel 7 Pro Android Emulator on macOS.

@veloce
Copy link
Contributor

veloce commented Feb 8, 2024

I see from the flutter --version output that you're on channel master, not beta. You should switch to beta to work on this project.

@brandonguigo
Copy link
Author

Sorry, I was missing the fvm prefix to the command ^^

I'm on Flutter 3.19.0-14.0.pre

@brandonguigo
Copy link
Author

My bad, I have cleaned and reinstalled everything and make sure that I was on the beta channel and it seems to be working now!

@brandonguigo brandonguigo deleted the fix/multidex-error-on-android branch February 8, 2024 14:56
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

Successfully merging this pull request may close these issues.

androidx.multidex does not exists when launching flutter app on an android emulator
2 participants