路径:\frameworks\base\packages\SettingsProvider\res\values\defaults.xml 方法:<bool name="def_install_non_market_apps">false</bool> 中的false改成true