Android Question HttpUtils2Service is declared twice

ktlua

Member
Licensed User
I have this error when I add HttpUtils2Service after I add HttpJob. I am asked to remove it. However, It does not show on the IDE panel and I find no way to remove it. Kindly help.
 

ktlua

Member
Licensed User
Make sure that only OkHttpUtils2 library is referenced (and HttpUtils2 is not referenced).

If you are unable to solve it then please upload the project.

I do not add HttpUtils2. The project codes are attached.
Please let me how to remove a module if it is not shwon on the IDE.

Kindly help.
 

Attachments

  • HttpUtils6.zip
    13.5 KB · Views: 187
Upvote 0

KMatle

Expert
Licensed User
Longtime User
Click on

mod.JPG


Then you see

mod2.JPG


Click on HttpUtils2Service (it will appear again)

Then delete the module via menue (Project -> remove module)

mod3.JPG
 
Upvote 0

ktlua

Member
Licensed User
Make sure that only OkHttpUtils2 library is referenced (and HttpUtils2 is not referenced).

If you are unable to solve it then please upload the project.
Click on

View attachment 50006

Then you see

View attachment 50007

Click on HttpUtils2Service (it will appear again)

Then delete the module via menue (Project -> remove module)

View attachment 50008

Many thanks! It works.

I removed the duplicated HttpUtils2Service. But what happen to the first copy? Where is it referenced?
 
Upvote 0
Top