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

  1. copy jar file libs folder
  2. register module in build.gradle file, instructions given in steps 3 through 9
  3. open file menu , click on project structure
  4. now in project structure dialog box select app under module
  5. now click on dependencies tab in project structure dialog
  6. click on + sign in right side corner
  7. select file dependency list
  8. select jar file libs folder
  9. click apply , ok
  10. finally click on sync gradle button

one more thing, check proxy connection if using it.


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -