官术网_书友最值得收藏!

Adding a Gradle identifier

To add a new Gradle library, find the Gradle identifier for the third party library, and add it to the dependencies list.

When you make changes to the build configuration files in your project, Android Studio requires that you sync your project files so that it can import your build configuration changes and run some checks to make sure your configuration won't create build errors.

To sync your project files, click Sync Now (as seen in the following figure) in the notification bar (this appears when you make a change), or click Sync Project from the menu bar. If Android Studio notices any errors with your configuration--for example, if your code uses API features that are only available in an API level higher than your compileSdkVersion-- the Messages window appears to describe the issue:

Next, we will discuss how libraries can be added using a module.

主站蜘蛛池模板: 罗定市| 金山区| 甘谷县| 阿坝| 都安| 香港| 蕉岭县| 梁平县| 漳平市| 正定县| 资中县| 连城县| 天峻县| 郴州市| 富锦市| 黎平县| 宜兰县| 瑞丽市| 阳高县| 沙洋县| 东辽县| 永修县| 马关县| 呼玛县| 荣成市| 拉萨市| 车致| 安平县| 舒兰市| 金坛市| 望奎县| 南郑县| 康平县| 馆陶县| 广饶县| 德惠市| 贵南县| 肃宁县| 昭觉县| 醴陵市| 伊金霍洛旗|