We have an Android app which we wish to run tests on using Test Studio. I used the android application configuration menu within Test Studio on the APK my development team gave me, and when I tried to open the app I simply saw the splash screen for less than a second, then it closes. The interesting thing I discovered on closer inspection is that the APK Test Studio generated was about 15MB smaller than my original, which tells me that something is very wrong with the process. These are the steps I had to take to get to this point:
1. When I first pointed Tesk Studio to the location of my Android SDK, it told me that "aapt.exe" could not be found. To resolve this, I moved
everything from the "24.0.2" directory inside the build-tools directory
up into the build-tools directory.
The next error message I got was "Android
build tools not found". My solution (suggested by someone on your forums) was to edit my MtAPKProvisioningSettings
JSON file (located in C:\Users\USERNAME\AppData\Roaming\ArtOfTest) to
include this: "AndroidBuildToolsVersion":"24.0.2". The field had
previously been blank, like this: "AndroidBuildToolsVersion":"".