Proper way to add dependencies to gradle

前端 未结 3 1914
遇见更好的自我
遇见更好的自我 2021-01-26 06:40

Please consider the following code

dependencies {

    compile fileTree(dir: \'libs\', include: [\'*.jar\'])
    androidTestCompile(\'com.android.support.test.es         


        
3条回答
  •  佛祖请我去吃肉
    2021-01-26 07:12

    Follow the Steps

    Step 1: Open Project Structure (Ctrl+Alt+ Shift+S)

    Step 2: Tap app menu

    Step 3: Tap Dependencies option

    Step 4: click + menu to add "library dependency"

    Step 5: Type the keywords for your dependency

    Step 6: Click Search icon

    Step 7: Double Click the dependency that found in Search,

    Dependency Added...!

    [show case [1]

提交回复
热议问题