Skip to content

Instantly share code, notes, and snippets.

@teerasej
Last active May 16, 2021 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teerasej/f7e91d85d225968a01e7b270efedd812 to your computer and use it in GitHub Desktop.
Save teerasej/f7e91d85d225968a01e7b270efedd812 to your computer and use it in GitHub Desktop.
Fix error on compile time "The number of method references in a .dex file cannot exceed 64K." in Flutter project
// android/app/build.gradle
android {
//...
defaultConfig {
//...
multiDexEnabled true
}
//...
}
dependencies {
//...
implementation 'com.android.support:multidex:1.0.3'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment