Open Rolf-Smit opened 4 years ago
Just to confirm, this is from a project that is using com.android.application
, com.android.library
, or com.android.test
? the dynamic-feature support can't handle more than one feature project and I've not been able to spend the time to figure out the correct way to aggregate the list of apk's yet. (issue #63)
So composer internally will use AAPT to try and read the test package name from the test APK as well as the test-runner arg from the apk manifest if it wasn't provided in the arg list. but it looks like aapt is missing in your build tools installation.
I've seen a handful of issues with either avdmanager or the emulator being overly critical about folder layout in an SDK install. So you might check to see if build-tools is fully installed or if it was just stubbed to appease an assert in one of those tools?
Might be worth double checking permissions on the files as well? Fresh install of 30.0.1 on osx for me:
Or you could try reinstalling?
sdkmanager --install "build-tools;30.0.1"
Side note: Now that composer is a part of this project, I'd actually like to stop relying on aapt for this, since both should be extractable from the AGP configuration api.
I'm working on a project that has more than 60 different Gradle Android modules. Some of those have androidTests as well as the
app
module. Currently we are only running the androidTests in theapp
module, but we would like to also use composer for all other modules.When I run
./gradlew testDebugComposer
I was expecting composer to run for every module, except that it seems to exit with an error:I'm not sure how to fix this issue or what exactly is going wrong, is this supposed to work?