From 1919a38260d675a010b9381968a7d8b92201d8e1 Mon Sep 17 00:00:00 2001 From: lamrongol Date: Fri, 28 Apr 2023 22:31:57 +0900 Subject: [PATCH] Remove error-causing exclude Previously, the exclude was required( https://github.com/socketio/engine.io-client-java/issues/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`. --- src/site/markdown/installation.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/site/markdown/installation.md b/src/site/markdown/installation.md index 99318f65..2cbfdb31 100644 --- a/src/site/markdown/installation.md +++ b/src/site/markdown/installation.md @@ -26,10 +26,7 @@ Add the following dependency to your `pom.xml`. Add it as a gradle dependency for Android Studio, in `build.gradle`: ```groovy -implementation ('io.socket:socket.io-client:2.1.0') { - // excluding org.json which is provided by Android - exclude group: 'org.json', module: 'json' -} +implementation ('io.socket:socket.io-client:2.1.0') ``` ## Dependency tree