- Expert Android Programming
- Prajyot Mainkar
- 127字
- 2021-07-08 10:29:05
Adding Gradle to your app
You can Gradle build script dependency to your app in the following way:
Open the file from your app module.
Here, in the dependencies, add the Gradle identifier for a library that you want to import:

Let us consider the current Gradle library, for instance:
com.android.support:appcompat-v7:23.1.1
The components of this Gradle library could be distributed in sections to ease understanding. Here are a few pointers to make note of:
- com.android.support is the package name of the project
- appcompat-v7 is the project name
- 23.1.1 is the version of the project
We have now completed the setup for Gradle in Android Studio. We will be using several libraries in our App. In the next section, we will see how to add new Gradle Libraries.
推薦閱讀
- INSTANT OpenCV Starter
- RTC程序設計:實時音視頻權威指南
- HTML5+CSS3網站設計基礎教程
- 利用Python進行數據分析
- Arduino可穿戴設備開發
- Java EE 7 with GlassFish 4 Application Server
- 現代C:概念剖析和編程實踐
- WildFly Cookbook
- 物聯網系統架構設計與邊緣計算(原書第2版)
- Drupal 8 Development:Beginner's Guide(Second Edition)
- Mastering ArcGIS Server Development with JavaScript
- Puppet Cookbook(Third Edition)
- 趣味掌控板編程
- Lync Server Cookbook
- Learning SaltStack(Second Edition)