Android Studio Error

Discussion in 'Buildbox General Discussion' started by sharma.shivam, Jan 13, 2019.

  1. sharma.shivam

    sharma.shivam Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    180
    Likes Received:
    10
    Hello everyone,i have been getting this error everytime i try to build an apk using buildbox.
    i have not changed anything in the manifest file and ensured that multidex is enabled.
    Can anyone please tell me what it means and how it can be fixed?
    "Unexpected exception in dex writer thread"
     
  2. sharma.shivam

    sharma.shivam Avid Boxer

    Joined:
    Oct 23, 2016
    Messages:
    180
    Likes Received:
    10
    any suggestion please?
     
  3. ismadiepro

    ismadiepro Boxer

    Joined:
    Jan 4, 2019
    Messages:
    6
    Likes Received:
    1
    hi, send your screenshoot or error code, so i can help
     
  4. spicedbeangames

    spicedbeangames Miniboss Boxer

    Joined:
    Mar 31, 2016
    Messages:
    1,376
    Likes Received:
    589
    You could try adding this code

    android {
    dexOptions {
    incremental true
    javaMaxHeapSize "4g"
    }
    }
     

Share This Page