Menu
Date

May 2017

Error: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

While building an android app in Android Studio, I got the below error and the build was failed.Error: 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 The solution to avoid this error is, add the property “multiDexEnabled true” under defaultConfig in app’s build.graddle file. It will look like below….

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.