How to add 'libs' folder in Android Studio?

后端 未结 7 1157
攒了一身酷
攒了一身酷 2020-12-12 10:14

I need help in creating the \'libs\' folder in Android Studio for my project (It is not auto-generated in my project).

When I want to create a folder, it gives me lo

相关标签:
7条回答
  • 2020-12-12 10:30

    also you should click right button on mouse at your projectname and choose "open module settings" or press F4 button. Then on "dependencies" tab add your lib.jar to declare needed lib

    0 讨论(0)
  • 2020-12-12 10:30

    also, to get the right arrow, right click and "Add as Library".

    0 讨论(0)
  • 2020-12-12 10:33

    Another strange thing. You wont see the libs folder in Android Studio, unless you have at least 1 file in the folder. So, I had to go to the libs folder using File Explorer, and then place the jar file there. Then, it showed up in Android Studio.

    0 讨论(0)
  • 2020-12-12 10:35

    Click the left side dropdown menu "android" and choose "project" to see libs folders

    enter image description here

    *after choosing project you will see the libs directory

    0 讨论(0)
  • 2020-12-12 10:39

    libs and Assets folder in Android Studio:

    Create libs folder inside app folder and Asset folder inside main in the project directory by exploring project directory.

    Now come back to Android Studio and switch the combo box from Android to Project. enjoy...

    0 讨论(0)
  • 2020-12-12 10:51

    The solution for me was very simple (after 10 hours of searching). Above where your folders are there is a combobox that says "android" click it and choose "Project".

    0 讨论(0)
提交回复
热议问题