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

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.

主站蜘蛛池模板: 鹤峰县| 金华市| 伽师县| 边坝县| 新宁县| 河北省| 区。| 齐河县| 永靖县| 平原县| 甘谷县| 泰来县| 南乐县| 合阳县| 海兴县| 泸水县| 五寨县| 东阳市| 简阳市| 中宁县| 孟村| 普洱| 清苑县| 贡山| 太仆寺旗| 巴彦淖尔市| 鲁山县| 肥东县| 西乌珠穆沁旗| 上蔡县| 钟祥市| 青田县| 北辰区| 海宁市| 静安区| 二手房| 会东县| 大连市| 琼结县| 黑山县| 德令哈市|