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

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.

主站蜘蛛池模板: 广南县| 类乌齐县| 渑池县| 南和县| 浪卡子县| 西畴县| 浑源县| 汾阳市| 洛阳市| 三河市| 金山区| 那坡县| 正宁县| 白朗县| 定结县| 泰宁县| 韶山市| 普定县| 定结县| 申扎县| 康平县| 将乐县| 长兴县| 津南区| 崇义县| 凤冈县| 蓬莱市| 永吉县| 昌图县| 张家界市| 双柏县| 班玛县| 石林| 忻州市| 左云县| 江油市| 清流县| 镇宁| 兴义市| 东至县| 丹东市|