Android Libraries in Android Studio

后端 未结 6 1338
长发绾君心
长发绾君心 2020-12-14 17:44

Has anyone figured/found out how Android libraries are intended to work in Android studio?

I have not been able to find any documentation on this yet (the documentat

6条回答
  •  情深已故
    2020-12-14 18:15

    Attach android library into android studio. If you have any idea about library then add directly for eg.

    (this is the picasso library)

    compile 'com.squareup.picasso:picasso:2.3.2'
    

    If you want to create our own library then follow these steps.

    1. Click on File menu
    2. Choose New module and select Android Library.

    3. Declare Library Name and package name.

    Now finally your library has been created you can use easily.

    1. Click on File and after then click on Project Structure
    2. Click on Dependencies Tab inside small window and click Green color plus button.

    3. And select Module dependency you can see your library file.

    4. select library and ok

提交回复
热议问题