Android error compiling missing lib - The system can not find the file specified

2

Good night, I had added some libs to my android application, but then I changed my mind and removed the same ones, but when I compile the code is giving the following error

  

Error: Execution failed for task: app: compileDebugJavaWithJavac.   java.io.FileNotFoundException: C: \ Users \ felip \ AndroidStudioProjects \ login \ app \ libs \ httpcore-4.4.4.jar (The system can not find the file specified)

I already did the refresh of libs and I did the clean and nothing continues giving this error does anyone know what I can do?

    
asked by anonymous 25.06.2016 / 09:00

1 answer

2

Frames, check on your build.gradle if there is any reference to this lib, if any, remove the line.

It will probably be this way:

compile files('libs/httpcore-4.4.4.jar')

After removing the reference, sync your Gradle and try compiling the project again.

    
25.06.2016 / 16:31