Last active
May 16, 2021 04:26
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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