https://kotlinlang.org logo
#android-architecture
Title
# android-architecture
k

KingKongCoder

05/04/2021, 4:13 PM
Dynamic feature module: i am trying to run instrumented tests and having this error as a dynamic feature module (feature1 is a dynamic feature module) is added running this command gives below error ./gradlew feature1connectedStgDebugAndroidTest Execution failed for task ‘feature1connectedStgDebugAndroidTest’.
java.util.concurrent.ExecutionException: com.android.tools.build.bundletool.model.exceptions.InvalidCommandException: The APK Set archive does not contain the following modules: [feature1]
should i add any bundle tool flags or setup before running instrumented tests or any know issues with dynamic feature module causing this error?
m

marlonlom

05/08/2021, 2:28 AM
Mmm, check the gradle.properties for the projecto AND check the module is listed there, also, un the base module build.gradle, check that the dynamic modules are added
9 Views