Use multiDexEnabled without Gradle but Eclipse build process instead

Since the latest SDK version, its much more simple to create applications with multiple dex files ( https://developer.android.com/tools/building/multidex.html ), my question is, can this new feature also be used when I’m not using Gradle for the build process but the “old” Eclipse build chain?

The “multiDexEnabled true” in the Gradle build file must be transmittible to the Android compiler also in other ways?

  • Unable to deactivate APK accidentally uploaded to Prod
  • Can I change the LED intensity of an Android device?
  • Data Transmisison error using SPP over Bluetooth on Android
  • Android Support Package / Compatibility Library - use v4 or v13?
  • Sharing via Seekable Pipe or Stream with Another Android App?
  • Is it possible to access the current Fragment being viewed by a ViewPager?
  • How can I navigate between pages inside a PhoneGap application?
  • How to fill a view with another with Material Design Animation?
  • How to put my libraries in front of android.jar by editing build.gradle in Android-Studio
  • Java: How to check if object is null?
  • Can Android cache HTML5 video with cache manifest offline?
  • Android AdapterView?
  • One Solution collect form web for “Use multiDexEnabled without Gradle but Eclipse build process instead”

    I have had the same issue.
    So I use the following workaround. Have added ‘android-support-multidex’ to lib folder and update ‘dependecices’ tag in gradle in next way

    dependencies {
    compile fileTree(dir: 'libs', include: '*.jar', exclude: 'android-support-multidex.jar')
    compile 'com.android.support:multidex:1.0.1'}
    

    I hope this will be useful for you.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.