Add 2 more Androidx test libraries

Need third party library net_sf_kxml_kxml2 for androidx_test_runner_java's dependency which is only used for test code.

Sample test from Robolectric:
In this test, it shows that androidx.test.rule.ActivityTestRule and androidx.test.runner.AndroidJUnit4 are needed.
At least we need androidx.test.rule.ActivityTestRule instead of for this feature so that androidx_test_rules_java needed and androidx_test_runner_java is a dependency.
New AndroidJUnit4 still needed but we can use androidx.test.ext.junit.runners.AndroidJunit4 I guess since new AndroidJunit4 can load RobolectricTestRunner as runner

Robolectric 4.0 release note:

Bug: 938716
Change-Id: I42629efcd6ab688bec7c81cdf25e17251d507033
Commit-Queue: Nico Weber <>
Reviewed-by: Nico Weber <>
Reviewed-by: Peter Wen <>
Reviewed-by: Conley Owens <>
Reviewed-by: Andrew Grieve <>
Cr-Original-Commit-Position: refs/heads/master@{#642722}
Cr-Mirrored-Commit: 081719f2d7f28d8786f94118d26427040d0bba21
2 files changed