본문 바로가기
Android

[error] Uncaught TypeError: Cannot read property 'setItem' of null", source

by 캡틴노랑이 2021. 8. 6.
반응형

Uncaught TypeError: Cannot read property 'setItem' of null", source

 

webview에서 발생시

 

아래 코드 넣어주면 됨.

로컬저장소 사용을 허가하는 설정.

webView.getSettings().setDomStorageEnabled(true); 

반응형

'Android' 카테고리의 다른 글

WebView로 cookie 데이터 저장  (0) 2021.08.09
[error] java.net.ConnectException: Failed to connect to /192.168.18.13:44354  (0) 2021.08.06
postDelayed  (0) 2021.08.04
Android webview에서 kakaomap 표시 안될 때..  (0) 2021.07.26
AlertDialog  (0) 2021.07.19

댓글