Android Studio 1.0.1 add external libraries

后端 未结 2 889
谎友^
谎友^ 2021-01-02 02:18

I have just downloaded Android Studio 1.0.1 and this is the new project structure

\"enter

相关标签:
2条回答
  • 2021-01-02 03:02

    First you have to add library project (module) in Android Studio

    File -> Import Module
    

    To add library project (module) in build path, click

    File -> Project Structure
    

    On the left hand side click on

    app -> Dependencies tab -> green + button -> Module dependency
    

    Now select the library project you already added.

    For more details refer this link

    0 讨论(0)
  • 2021-01-02 03:18

    In My Case to add external library project into android studio 1.1.0

    step-1 : File -> Import Module -> set path for library project

    step-2 : Set dependencies{} in main projects's build.gradle like,

    dependencies {
        compile project(':facebookSDK')
        compile project(':slidingMenu')
        compile project(':SkyconsLibrary')
    }
    
    0 讨论(0)
提交回复
热议问题