Android package : Cooking failed

Happens to me when I clone the map.
The solution is to remove materials from the landscape and reapply them again.