在模拟器上运行会报错。 <img width="668" alt="image" src="https://user-images.githubusercontent.com/12951859/81164638-40655980-8fc3-11ea-917f-f9e03fe0f926.png">