-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Instrumentation target is failing to find APK #1510
Comments
cc @cjhopman - Perhaps you could provide more context? Am I missing something that I need to do with that new change? |
We have fec4a62 in our version and do not see this issue. strange Can you check the buck log to see why the test apk build failed? |
@kageiit The test APK build doesn't fail, it just never builds the main APK. The same exception occurs on: https://travis-ci.org/uber/okbuck/builds/274047893?utm_source=github_status&utm_medium=notification but I'm not sure if it is the same root cause. |
we build all apk targets in the travis config before the ui test command is run. It is strange that buck errors out like that. We do not rely on buck to run ui test commands, but have our own wrapper, that is probably why we did not see this particular error. |
This has been blocking us from using the latest buck changes since that commit is now the foundation for later commits and I cannot revert it. We have a custom wrapper that we can use to get around it but would prefer if we could continue to use the test command. |
Should be a straightforward fix, the test apk just needs a runtime dep on the tested apk. |
@kageiit it should. |
Confirmed cfdefd2 fixes this issue. |
Error:
The issue is that the APK being tested is not being generated and thus can't be found.
I've bisected the issue down to this commit: fec4a62
Before that commit, the issue does not exist.
My instrumentation target:
bin_debug.apk
never gets created. Building it withbuck build app:bin_debug
works fine.The text was updated successfully, but these errors were encountered: