vendredi 5 février 2021

Android studio local run not installing dynamic module

Hi I am building one Android application in which I am using dynamic modules. My dynamic module's Andorid manifest configuration looks like:

<dist:module
    dist:instant="false"
    dist:onDemand="false"
    dist:title="@string/title_samplemodule">
    <dist:fusing dist:include="true" />
</dist:module>

I have mentioned OnDemand as false. But still, when I tried to access one class inside my dynamic module from my core module via reflection it says class not found. It is giving exceptions. I checked with it and found module is not installed. So while running at local it should install my module with these configs. If I generate a universal apk then it works fine.





Aucun commentaire:

Enregistrer un commentaire