1.左上角菜单栏:File->Project Structure... 2.Dependencies->app->点击+号->1 Library Dependency 3.输入想要添加的依赖名称->点击Search->点击ok 4.回到Project Structure界面,点击Apply,最后点击ok,即可。