question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

android OREO ConnectionError problem

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
AmirNorouzpourcommented, Mar 18, 2019

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.

3reactions
rezasadeghi93commented, Apr 12, 2018

now, waiting 4 days and still no answer.

sounds like changing library helps…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix Bluetooth and Wifi connection errors on Android 8.0 ...
1. How to fix Bluetooth connection error · 1. If you are having Bluetooth connectivity problems even after restarting the device, go to...
Read more >
Network connectivity erratic since Android 8 Oreo Update [KD ...
Since installing the new Oreo update for my KD-55X8500, the TV's network connectivity has been all over the place. Issues experienced:.
Read more >
Fix Common Android Oreo 8.0 or 8.1 Bluetooth Issues
Fix Common Android Oreo 8.0 or 8.1 Bluetooth Issues. 2: Reboot Your Android Oreo Device. 3: Reset Bluetooth Device. 5: Forget And Reconnect...
Read more >
How to solve Android Oreo Socket connection issue
I'm getting this error when trying to create a Socket(IP, PORT) via Wifi Hotspot. failed to connect to /192.168.43.1 (port 9802) from ...
Read more >
Android 8.1 Oreo causing WiFi connection issues to some users
As per some users, they are facing WiFi connectivity issue since they upgraded their devices to Android 8.1 Oreo. The issue is said...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found