当出现安装应用程序失败时,弹出如下截图式的对话框,则,可能是手机安装应用程序源(Installation Sources),没有允许“未知来源”(Unknown Sources),勾选这个就ok了。
下面的错误信息,来源于对话框显示内容:
Installation failed with messages INSTALL_FAILED_UNKNOWN_SOURCES.
It is possible that this issue is resolved by unstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
对话框截图如下: