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

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.

主站蜘蛛池模板: 保定市| 石棉县| 惠安县| 佛冈县| 汝阳县| 莱芜市| 东港市| 绥德县| 嘉禾县| 多伦县| 阿拉善右旗| 荔波县| 出国| 宿松县| 亳州市| 武城县| 晋宁县| 丹江口市| 贡山| 巴林左旗| 巴马| 洱源县| 江口县| 凯里市| 邛崃市| 荔浦县| 兴化市| 丹巴县| 鹤庆县| 辽中县| 苍梧县| 泸溪县| 扶沟县| 沙洋县| 重庆市| 咸丰县| 金沙县| 扎囊县| 玉龙| 新巴尔虎右旗| 道孚县|