Having issue with runing espresso tests #5666
-
|
when running espresso test form android studio run button, The error occur "AAPT2 process unexpectedly exit. Error output: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
@jainv4156, we are no longer supporting Gradle builds in the project. PTAL at #5632 |
Beta Was this translation helpful? Give feedback.
-
|
i suspect that test is still building with gradel. |
Beta Was this translation helpful? Give feedback.
-
|
while exploring , I have found this pr #4991 that give me the answer , As @adhiamboperes say we are not supporting the gradel build and we do not have a bazel support for expresso test for now , so i take it as we can't run espresso test for now. |
Beta Was this translation helpful? Give feedback.


We use
bazel test path_to_test_filewithout the .kt extensionIn order to get the correct path always, open the test file, then on the sidebar, right click on the file, and select
copy path/reference. Then selectcopy path from repository root. Paste to terminal so that you havebazel test the-path-you-copied.kt. remove the .kt part and run