티스토리 뷰

반응형

Stack Overflow에 자주 검색, 등록되는 문제들과 제가 개발 중 찾아 본 문제들 중에서 나중에도 찾아 볼 것 같은 문제들을 정리하고 있습니다.

Stack Overflow에서 가장 먼저 확인하게 되는 가장 높은 점수를 받은 Solution과 현 시점에 도움이 될 수 있는 가장 최근에 업데이트(최소 점수 확보)된 Solution을 각각 정리하였습니다.

 

아래 word cloud를 통해 이번 포스팅의 주요 키워드를 미리 확인하세요.

Android Webview gives net::ERR_CACHE_MISS message

웹뷰 net::ERR_CACHE_MISS 오류 메시지

 문제 내용 

I built a web app and wants to create an android app that has a webview that shows my web app. After following the instructions from Google Developer to create an app, I successfully installed it on my phone with Android 5.1.1.

나는 웹 앱을 만들었고 내 웹 앱을 보여주는 웹 뷰가 있는 안드로이드 앱을 만들고 싶다. 구글 개발자의 지침에 따라 앱을 만든 후 안드로이드 5.1.1로 휴대폰에 성공적으로 설치했다.

 

However, when I run the app for the first time, the webview shows the message:

그러나 앱을 처음 실행하면 웹 보기에 다음과 같은 메시지가 표시됩니다.

 

Web page not available

The Web page at [Lorem Ipsum URL] could not be loaded as:

net::ERR_CACHE_MISS

웹 페이지를 사용할 수 없음
[Lorem Ipsum URL]의 웹 페이지를 다음과 같이 로드할 수 없습니다.
net::ERR_CACHE_MISS

 

 

 

 높은 점수를 받은 Solution 

I solved the problem by changing my AndroidManifest.xml.

나는 안드로이드 매니페스트.xml을 변경하여 문제를 해결했다.

 

old  : <uses-permission android:name="android.permission.internet"/>
new: <uses-permission android:name="android.permission.INTERNET"/>

 

 

 

 가장 최근 달린 Solution 

I ran to a similar problem and that was just because of the extra spaces:

나도 비슷한 문제에 부딪혔는데, 그것은 단지 공백 때문이었다.

<uses-permission android:name="android.permission.INTERNET "/>

 

which when removed works fine:

제거하면 정상적으로 작동합니다.

<uses-permission android:name="android.permission.INTERNET"/>

 

 

출처 : https://stackoverflow.com/questions/30637654/android-webview-gives-neterr-cache-miss-message

반응형
댓글
공지사항
최근에 올라온 글