Is it not possible to automation android app using espresso without source code. Gradle expects a structure like this:
src/main/ src/androidTest/
As per my knowledge, espresso requires application source code.So it is not possible to automate it with just an apk build.