문제 :
2020-07-29 20:19:07.085 3486-3637/? E/Unity: UnityWebRequest: errorCallback with error=java.io.IOException: Cleartext HTTP traffic to norionsoft.com not permitted url=http://example.com/n07/eventTest.xml
2020-07-29 20:19:07.085 3486-3637/? E/Unity: java.io.IOException: Cleartext HTTP traffic to norionsoft.com not permitted
해결법 :
AndroidManifest.xml 에 application 쪽에 아래 구문 추가
android:usesCleartextTraffic="true"
아래와 같이 해당 사항을 마지막쪽에 추가해 주면 됩니다.
<application android:name="androidx.multidex.MultiDexApplication" android:theme="@style/UnityThemeSelector" android:icon="@mipmap/app_icon" android:label="@string/app_name" android:usesCleartextTraffic="true">
작업 후 안드로이드 logcat 확인해 보면 정상 동작 하면서 해당 에러 메세지 사라짐.
'Programming > Android' 카테고리의 다른 글
Unity 빌드 후 안드로이드 string:FastAllocateString Error (0) | 2020.08.11 |
---|---|
InitializationException: Firebase app creation failed (0) | 2020.08.11 |
안드로이드 내부 테스트 트랙 출시 (0) | 2020.07.30 |
안드로이드 앱 출시 (0) | 2020.07.24 |
댓글