- 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.
推薦閱讀
- Visual Basic程序設計教程
- Windows Server 2012 Unified Remote Access Planning and Deployment
- CouchDB and PHP Web Development Beginner’s Guide
- Java Web程序設計任務教程
- HTML5與CSS3基礎教程(第8版)
- UVM實戰
- Qt5 C++ GUI Programming Cookbook
- Illustrator CS6設計與應用任務教程
- SQL Server 入門很輕松(微課超值版)
- HTML并不簡單:Web前端開發精進秘籍
- Oracle SOA Suite 12c Administrator's Guide
- Java EE 7 Development with WildFly
- Python趣味創意編程
- SOA Patterns with BizTalk Server 2013 and Microsoft Azure(Second Edition)
- 現代JavaScript編程:經典范例與實踐技巧