Reader small image

You're reading from  Modern Android 13 Development Cookbook

Product typeBook
Published inJul 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803235578
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Madona S. Wambua
Madona S. Wambua
author image
Madona S. Wambua

Madona S. Wambua is a Google Developer Expert in the Android category, an Android Engineer programming in Kotlin, and the founder and Chief Technology Officer of Jibu Labs. She is also a Women Tech Makers Ambassador and Co-Chair of AnitaB. She has over ten years of experience in the field and has worked on consumer-facing applications and building software development kits for developers. She has also worked on the famous Google Glass during her tenure at a startup and got an opportunity to work on interactive AR videos to transform lives through machine learning and computer vision. Madona is also a Keynote Speaker and the host of Tech Talks with Madona, a podcast geared towards supporting women and allies in tech.
Read more about Madona S. Wambua

Right arrow

Utilizing gradlew commands to clean and run your project in Android Studio

The gradlew command is a robust Gradle wrapper that has excellent usage. In Android Studio, however, you do not need to install it because it is a script that comes packaged within the project.

Getting ready

For now, however, we will not look into all the Gradle commands but instead use the most popular ones to clean, build, provide info, debug, and scan our project to find any issues when we run our application. You can run the commands in your laptop’s terminal as long as you are in the correct directory or use the terminal provided by Android Studio.

How to do it…

Follow these steps to check and confirm whether Gradle works as anticipated:

  1. You can check the version by simply running ./gradlew.
Figure 1.12 – gradlew version

Figure 1.12 – gradlew version

  1. To build and clean your project, you can run the ./gradlew clean and ./gradlew build commands. If anything...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Modern Android 13 Development Cookbook
Published in: Jul 2023Publisher: PacktISBN-13: 9781803235578

Author (1)

author image
Madona S. Wambua

Madona S. Wambua is a Google Developer Expert in the Android category, an Android Engineer programming in Kotlin, and the founder and Chief Technology Officer of Jibu Labs. She is also a Women Tech Makers Ambassador and Co-Chair of AnitaB. She has over ten years of experience in the field and has worked on consumer-facing applications and building software development kits for developers. She has also worked on the famous Google Glass during her tenure at a startup and got an opportunity to work on interactive AR videos to transform lives through machine learning and computer vision. Madona is also a Keynote Speaker and the host of Tech Talks with Madona, a podcast geared towards supporting women and allies in tech.
Read more about Madona S. Wambua