-
-
Save akhy/402ac67ec3b7bd084d10 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