1

When I tried using Picaso and OKHttp together in to app/build.gradle this issue started. Please help me to resolve this issue. Thanks you in advance.

user3131373
  • 292
  • 4
  • 15
  • You can check this Question http://stackoverflow.com/questions/26609734/how-to-enable-multidexing-with-the-new-android-multidex-support-library – Umesh Chauhan Dec 30 '15 at 07:42

1 Answers1

1
    Multidex support for **Android 5.0 and higher**
Step 1 : add MultidexEnabled true in app/build.gradle
    defaultConfig {
        ...
        minSdkVersion 14
        targetSdkVersion 21
        // Enabling multidex support.
        multiDexEnabled true
    }

**Step 2 :** 
    dependencies {
        compile 'com.android.support:multidex:1.0.0'
     }

**Step 3:** in your manifest add the MultiDexApplication class from the multidex support library to the application element.

   <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.multidex.myapplication">
    <application
        ...
        android:name="android.support.multidex.MultiDexApplication">
        ...
    </application>
</manifest>

For More details about this please refer Google Developer site:
 [Click Here][1]

I hope this help. 


  [1]: http://developer.android.com/intl/es/tools/building/multidex.html
manojprasad
  • 193
  • 1
  • 8