- 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.
推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- LabVIEW程序設計基礎與應用
- 前端架構:從入門到微前端
- Web全棧工程師的自我修養
- Java軟件開發基礎
- R Data Analysis Cookbook(Second Edition)
- iPhone應用開發從入門到精通
- Lift Application Development Cookbook
- 計算語言學導論
- Python GUI Programming Cookbook(Second Edition)
- 虛擬現實建模與編程(SketchUp+OSG開發技術)
- jQuery Essentials
- Learning Java Lambdas
- Python編程零基礎入門
- C#入門經典(第7版):C# 6.0 & Visual Studio 2015(.NET開發經典名著)