android OREO ConnectionError problem
See original GitHub issueHi, my app working fine with all version of android except android oreo or API 26,
the library show “ConnectionError” !
please help me with this…
manifest permission:
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
and:
compile ‘com.amitshekhar.android:android-networking:1.0.1’
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
look at : https://stackoverflow.com/questions/45940861/android-8-cleartext-http-traffic-not-permitted
simple and unsafe way add
android:usesCleartextTraffic="true"
in manifest file in application tag.now, waiting 4 days and still no answer.
sounds like changing library helps…