Application crash after changing minSdkversion to 26 on view binding

454 views Asked by At

I am trying to create the .aab file from Android studio and app bundle needs minimum SDK version 26, so I changed the version in all the module Gradle files, and the .aab file got created, but after that when I tried running the app it keeps getting crashed when I load dynamic feature module and gave - NullPointerException: binding.userName must not be null error.when I revert it to minSdkVersionto 23, it works.

0

There are 0 answers