错误解决:在AndroidManifest.xml文件中添加: <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>