再次更新:
okHttpClient= new OkHttpClient.Builder()
.cookieJar(new CookieJar() {
private final HashMap<HttpUrl, List<Cookie>> cookieStore = new HashMap<>();
okHttpClient= new OkHttpClient.Builder()
.cookieJar(new CookieJar() {
private final HashMap<HttpUrl, List<Cookie>> cookieStore = new HashMap<>();
2017-04-29
http://stackoverflow.com/questions/23527767/open-failed-eacces-permission-denied,那个评论最多的
2017-04-22
api23以上可能需要动态申请权限,就是Manifest申请还是有可能没用,发生java.io.FileNotFoundException: /storage/emulated/0/updata.apk: open failed: EACCES (Permission denied)异常,
动态申请权限方法,谷歌上很多
动态申请权限方法,谷歌上很多
2017-04-22
/**
* 注意,okhttp3.FormBody instead of FormEncodingBuilder.
* (OkHttp3.x,FormEncodingBuilder已被FormBody取代)
*/
* 注意,okhttp3.FormBody instead of FormEncodingBuilder.
* (OkHttp3.x,FormEncodingBuilder已被FormBody取代)
*/
2017-04-13