I am getting Unable to execute dex: Java heap space Java heap space error while executing web driver script in Eclipse IDE. I have configured Eclipse IDE with Android SDK and AV
Adding this to my build.gradle finally solved it for me
dexOptions { preDexLibraries = false }