Skip to content Skip to sidebar Skip to footer

Android Dynamic Feature : Error -2 Module Unavailable

I have been debugging all day with no result, I've followed every documentation and google code labs and uploaded the bundle to internal testing and the error persists : Module Una

Solution 1:

When I was working on this feature, I was testing with Playstore's Internal Test feature only.

Later on I came to know that there is another way to do it locally using a tool named Bundle Tool.

You can download it from given link. After downloading Bundle Tool file, you need to generate apk using it.

bundletool build-apks 
--bundle=app/build/outputs/bundle/debug/bundle.aab--output=my_app.apks

Ref : Android App Bundle

PS. when I was doing this feature in my application, I was develop it using Java code, But I am 100% sure it will work with kotlin code as well.

Post a Comment for "Android Dynamic Feature : Error -2 Module Unavailable"