Make Your App Instant
Yuliya Kaleda
1486

Currently building an Instant app and stuck at an issue with DataBinding where the DataBinderMapper class is not auto generated for the instant app module.

In case of a full (installed) app build, 3 DataBinderMapper classes are created — one for feature module, one for base module and one for the APK module. (the APK module DataBinderMapper class is a merge of the base and feature module mapper classes).

However for instant app build, only 2 DataBinderMapper classes — for feature and base module are created. The merged data binder mapper class is not auto generated which results in a NPE during instant app launch.

Did you face any problems with DataBinding + Instant apps during your development? Any help/advice would be great!

Show your support

Clapping shows how much you appreciated Vishal Nayak’s story.