2.x에선 잘 동작했습니다.


CookieManager cookie = CookieManager.getInstance();

if(cookie.getCookie(mContext.getString(R.string.host_url))!=null){

conn.setRequestProperty("Cookie", cookie.getCookie(mContext.getString(R.string.host_url)));

}


여기서 cookie.getCookie 가 무조건 null이 나와버리네요.


알려주세요 ㅠㅠ