zoukankan      html  css  js  c++  java
  • android权限问题

    10-10 02:43:18.287      720-811/? W/AudioTrack﹕ AUDIO_OUTPUT_FLAG_FAST denied by client
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ java.net.SocketException: socket failed: EACCES (Permission denied)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at libcore.io.IoBridge.socket(IoBridge.java:623)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at java.net.PlainSocketImpl.create(PlainSocketImpl.java:198)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at java.net.Socket.checkOpenAndCreate(Socket.java:687)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at java.net.Socket.setSoTimeout(Socket.java:541)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.Connection.connect(Connection.java:147)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:276)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:211)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:323)
    10-10 02:43:18.293    4464-4493/? W/System.err﹕ at com.android.okhttp.internal.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:491)
    10-10 02:43:18.294    4464-4493/? W/System.err﹕ at jukay.com.showhtml.MainActivity$DownHtml.run(MainActivity.java:71)
    10-10 02:43:18.295    4464-4493/? W/System.err﹕ Caused by: android.system.ErrnoException: socket failed: EACCES (Permission denied)
    10-10 02:43:18.295    4464-4493/? W/System.err﹕ at libcore.io.Posix.socket(Native Method)
    10-10 02:43:18.297    4464-4493/? W/System.err﹕ at libcore.io.BlockGuardOs.socket(BlockGuardOs.java:282)
    10-10 02:43:18.297    4464-4493/? W/System.err﹕ at libcore.io.IoBridge.socket(IoBridge.java:608)

    出现这种问题,我搞了老半天,google了一整天,群里的网友也不知道是咋回事,都说是网络权限没有配置。可我明明配置了权限啊,难道是全是配置没有生效,终于在最后,我发现了问题,配置权限不能大写,但是你大写了他也不会报错,只是配置不生效,开发的时候要注意,这种问题很让人恼火的。

  • 相关阅读:
    HDU1864--01背包
    HDU4508--完全背包
    HDU5410--01背包+完全背包
    HDU1284--完全背包
    HDU1248--完全背包
    HDU2191--多重背包(二进制分解+01背包)
    HDU2186--水
    PAT乙级--1003
    51Nod--1006 lcs
    51Nod--1008
  • 原文地址:https://www.cnblogs.com/shuimojun/p/4866865.html
Copyright © 2011-2022 走看看