Are you generating an apk which has your feature module included into it. you can try using bundle-tool and use its mode --mode=universal
to generate an apk which will include your all feature modules.
Also if you want to test your dynamic modules locally you can use its --local-testing
flag.
Here are the steps:
./gradlew bundleDebug
bundletool build-apks --bundle=./app/build/outputs/bundle/internalDebug/app-internal-debug.aab --output=./app/build/outputs/apks/universalapk.apks --mode=universal
To extract an apk out of it..you can rename universalapk.apks to universalapk.zip and open it. you will get the apk
or to install it, you can use:
bundletool install-apks --apks ./app/build/outputs/apks/universalapk.apks
Refer to this link: for generating apk with feature modules:
Generate Apk file from aab file (android app bundle)