Android: OkHttpClientFactory error #19054
Labels
🌐Networking
Related to a networking API.
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
With this pull request merged it should now be possible to customize OkHttp client for Android. However following the steps in the description lead to an error:
Inspecting dependencies with
./gradlew app:dependencies
shows that I have OkHttp version3.6.0
.Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 6.11.3
Yarn: 1.6.0
npm: 5.3.0
Watchman: 4.4.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.1 AI-173.4697961
Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.55.3 => 0.55.3
Steps to Reproduce
Create a class:
In your
ReactApplication.onCreate()
add the followingBuild and run the app
Expected Behavior
The app works
Actual Behavior
The app crashes with the above stacktrace.
The text was updated successfully, but these errors were encountered: