diff --git a/tests/app/Android.mk b/tests/app/Android.mk index 979c27d93a5..381006ab606 100644 --- a/tests/app/Android.mk +++ b/tests/app/Android.mk @@ -13,7 +13,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \ espresso-core \ espresso-contrib-nodep \ espresso-intents-nodep \ - ub-uiautomator + ub-uiautomator \ + legacy-android-test # Include all test java files. LOCAL_SRC_FILES := $(call all-java-files-under, src) diff --git a/tests/unit/Android.mk b/tests/unit/Android.mk index d852ac5e1ff..f98fccd8c63 100644 --- a/tests/unit/Android.mk +++ b/tests/unit/Android.mk @@ -11,7 +11,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := \ android-support-test \ mockito-target-minus-junit4 \ espresso-core \ - truth-prebuilt + truth-prebuilt \ + legacy-android-test # Include all test java files. LOCAL_SRC_FILES := $(call all-java-files-under, src)