In my application I use Metrics.density to properly scale it.
But although it works fine on desktop, running application on device crashes because Metrics.density equals zero.
I've tested on several android devices with the same result. What could the possible cause of this strange behavior?
Interesting that previous build of my application (created in March'17) works just fine with the same scaling techniques. Since the last build I've just add a couple of custom modules with new screens, nothing that could possibly harm scaling.