My advice is to create the mesh with other programs for android, paint it and transfer it to the unreal engine in an optimized way. I know that layered material is not supported for Android. As far as I know, it should be a single layered material. I created the landscape with 3d max and painted it with substance and put it in unreal like that. And it was pretty cool. Thus, the optimization is also high.