Platform: ROCKCHIP
OS: Android 6.0
Kernel: 3.10.92
User版本默认情况下不允许直接安装第三方apk, 需要在设置 -> 安全里勾选未知来源(Unknown source)才可以.
这里修改成默认开机就可以安装.
解决方法:
[[email protected]:~/rk3288/frameworks/base/packages/SettingsProvider]$ g df
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
index cc8e961..f8b85c3 100755
--- a/packages/SettingsProvider/res/values/defaults.xml
+++ b/packages/SettingsProvider/res/values/defaults.xml
@@ -38,7 +38,7 @@
<bool name="def_bluetooth_on">false</bool>
<bool name="def_wifi_display_on">false</bool>
- <bool name="def_install_non_market_apps">false</bool>
+ <bool name="def_install_non_market_apps">true</bool>
<bool name="def_package_verifier_enable">true</bool>
<!-- Comma-separated list of location providers.
Network location is off by default because it requires