Last active
August 22, 2016 09:25
-
-
Save mandrachek/d1954f07a3eb95ba3260 to your computer and use it in GitHub Desktop.
AndroidJunitRunner that supports MultiDex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.os.Bundle; | |
import android.support.multidex.MultiDex; | |
import android.support.test.runner.AndroidJUnitRunner; | |
public class MultiDexJunitRunner extends AndroidJUnitRunner { | |
@Override | |
public void onCreate(Bundle arguments) { | |
MultiDex.install(getTargetContext()); | |
super.onCreate(arguments); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment