I think there’s a separate way to raise the heap limit of the dexing operation. Add this to your android
closure in your build.gradle
file:
dexOptions {
javaMaxHeapSize "4g"
}
and see if that helps.
(idea courtesy of this answer from Scott Barta)
More Related Contents:
- download image from unformatted url [duplicate]
- Why is my app is crashing while using async task?
- Firebase Android ListView not being displayed
- How to make an Android device vibrate? with different frequency?
- Android 5.0 – Add header/footer to a RecyclerView
- Get driving directions using Google Maps API v2
- Android java.lang.VerifyError?
- How to WhiteList app in Doze mode Android 6.0
- How do you use Intent.FLAG_ACTIVITY_CLEAR_TOP to clear the Activity Stack?
- Why is adding an OnClickListener inside onBindViewHolder of a RecyclerView.Adapter considered bad practice?
- Import package.* vs import package.SpecificType [duplicate]
- OpenGL ES2 Alpha test problems
- Android import java.nio.file.Files; cannot be resolved
- Get Android Device Name
- Android post picture to Facebook wall
- Key hash for Facebook Android SDK
- Android – Save image from URL onto SD card
- Android resource not found exception?
- How to blur background images in Android
- How can I show ellipses on my TextView if it is greater than the 1 line?
- How to programmatically add views and constraints to a ConstraintLayout?
- Parcelable and inheritance in Android
- Convert UTC to current locale time
- How can I pass values between a Dialog and an Activity?
- How do I persist cookies when using HTTPUrlConnection?
- Android Row becomes Unclickable with Button
- How to listen for Firebase setValue completion
- How to update edittext whenever a quantity is added in android studio
- Request runtime permissions from v4.Fragment and have callback go to Fragment?
- Run Handler messages in a background thread