How to add external dependencies (jar file) to android studio? -
i trying add external libraries(httpmime-4.0-sources.jar) android project irked fact android-studio popping errors
- error: package org.apache.http.entity.mime not exist
- error:cannot find symbol class multipartentity
- error: cannot find symbol class httpmultipartmode
i need help.
as practice copied jar file lib folder , added library. error not go away.
step wise
- copy jar file libs folder
- register module in build.gradle file, instructions given in steps 3 through 9
- open file menu , click on project structure
- now in project structure dialog box select app under module
- now click on dependencies tab in project structure dialog
- click on + sign in right side corner
- select file dependency list
- select jar file libs folder
- click apply , ok
- finally click on sync gradle button
one more thing, check proxy connection if using it.
Comments
Post a Comment