How to add JSoup.jar to my android project?

后端 未结 6 498
旧巷少年郎
旧巷少年郎 2020-12-28 19:52

Very basic, But I don\'t know, How to add JSoup.jar to my android workspace? If anyone knows, please help me?

6条回答
  •  春和景丽
    2020-12-28 20:21

    In Android Studio follow the below steps:

    1. Right click on file named app (inside project files in the Android project view)
    2. Click on Open module settings
    3. Inside Project Structure click on the + (New module) symbol on top left corner
    4. Inside create new module select .JAR/.AAR package
    5. Inside create new module select the .jar file to be imported and click finish
    6. Inside Project Structure click on app (below list of Modules)
    7. Select Dependencies click on the +(Add) symbol on top right corner
    8. Then select Module dependency
    9. Select the module name to be imported from the list given in Choose Modules and click ok.

提交回复
热议问题