0

My project was running good on another PC. But unable to run here. Firstly, play repository was not updated. After completing update, build was successful but can't run.

app level build.gradle-

app level build.gradle

project level build.gradle-

project level build.gradle

getting error-

error

How can I get rid from this problem?

This question is similar to many like this but exception is different.

Exigente05
  • 2,161
  • 3
  • 22
  • 42

1 Answers1

0

Try this, It might be due to multiple libraries compilation, This might solve the problem

  android{
defaultConfig {

    // Enabling multidex support.
    multiDexEnabled true
}


dexOptions {
    javaMaxHeapSize "4g"
}
    }
     dependencies {
//...
  compile 'com.android.support:multidex:1.0.0'
  }
Sajad Bin Nazir
  • 313
  • 3
  • 12