Open nightcrawlerfemi opened 4 months ago
The error message seems doens't related to this project.
The error message seems doens't related to this project.
when i remove the libary dependency and runnig it, it work fine.
The error message seems doens't related to this project. The error measage require me to exculde the path ![Uploading Capture.PNG…]()
@nightcrawlerfemi Can you please provide more details about this issue:
@nightcrawlerfemi Can you please provide more details about this issue:
- How you add the dependency?
- Run gradlew with the "--stacktrace" option to get error details.
apologies for the delay in response,
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction 2 files found with path 'mozilla/public-suffix-list.txt' from inputs:
- C:\Users\Personal PC.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.5.13\e5f6cae5ca7ecaac1ec2827a9e2d65ae2869cada\httpclient-4.5.13.jar
- C:\Users\Personal PC.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents.client5\httpclient5\5.2.1\c900514d3446d9ce5d9dbd90c21192048125440\httpclient5-5.2.1.jar Adding a packaging block may help, please refer to https://developer.android.com/reference/tools/gradle-api/8.4/com/android/build/api/dsl/Packaging for more information
@nightcrawlerfemi Seems that httpclient5-5.2.1
from sdwebui-java-sdk conflicts with httpclient-4.5.13
from some other dependencies. Could you try fixing it by upgrading Apache Http Client to version 5.2.1
?
4.5.13
i dont have httpcilent -4.5.13 add to my dependency, what i have is("org.apache.httpcomponents:httpmime:4.3.5")
org.apache.httpcomponents:httpmime:4.3.5
depends on the httpclient artifact. Can you upgrade the httpmime:4.3.5
to 5.2.1
or exclude httpclient from httpmime?
https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime/4.5.3
org.apache.httpcomponents:httpmime:4.3.5
depends on the httpclient artifact. Can you upgrade thehttpmime:4.3.5
to5.2.1
or exclude httpclient from httpmime? https://mvnrepository.com/artifact/org.apache.httpcomponents/httpmime/4.5.3
i decide to switch to okhttp3 but i still running into an error when i run the code, kindly view screen shoot and advise ![Uploading Capture1.PNG…]()
The error orignates from this line
@nightcrawlerfemi The root cause is android.os.NetworkOnMainThreadException
, which is thrown by Android platform. Can you Google this exception to find out a resolution?
The above error display when, i run the application, kindly assist