优雅de程序员 2016-09-13 01:32 采纳率: 0%
浏览 3632
已结题

android应用加上系统权限后打开webview报错

android应用加上系统权限好打开webview报错 :
Caused by: java.lang.UnsupportedOperationException: For security reasons, WebView is not allowed in privileged processes

  • 写回答

1条回答 默认 最新

  • RoidCoder 2016-09-13 02:24
    关注

    I met the same case; Added [android:sharedUserId="android.uid.system"] in manifest, and used the webview in APP; It was all right in android 5.0.2 project, while failed in 5.1 project... 参考下这篇文章:http://stackoverflow.com/questions/29228183/java-lang-unsupportedoperationexception-for-security-reasons-webview-is-not-al

    评论

报告相同问题?