Recommended solutions based on your search
You have too many methods (more than 65k) in your project and libs.
Prevent the Problem: Reduce the number of methods with Play Services 6.5+ and support-v4 24.2+. To fix include multidex library in gradle:
Solutions on the web
com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536