Skip to content

Commit 1919a38

Browse files
authored
Remove error-causing exclude
Previously, the exclude was required( socketio/engine.io-client-java#13 ), but this was probably due to the fact that com.github.nkzawa:socket.io-client was used. Rather, now if you exclude it, you will get `java.lang.ClassNotFoundException: org.json.JSONException`.
1 parent ad3a930 commit 1919a38

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/site/markdown/installation.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ Add the following dependency to your `pom.xml`.
2626
Add it as a gradle dependency for Android Studio, in `build.gradle`:
2727

2828
```groovy
29-
implementation ('io.socket:socket.io-client:2.1.0') {
30-
// excluding org.json which is provided by Android
31-
exclude group: 'org.json', module: 'json'
32-
}
29+
implementation ('io.socket:socket.io-client:2.1.0')
3330
```
3431

3532
## Dependency tree

0 commit comments

Comments
 (0)