:samples-dir: /home/tcagent1/agent/work/64493a816be20d5a/promote-projects/gradle/build/git-checkout/subprojects/docs/build/working/samples/install/building-android-apps :gradle-version: 7.3.1 = Building Android Apps Sample [.download] - link:zips/sample_building_android_apps-groovy-dsl.zip[icon:download[] Groovy DSL] - link:zips/sample_building_android_apps-kotlin-dsl.zip[icon:download[] Kotlin DSL] NOTE: You can open this sample inside a Android Studio IDE using the https://developer.android.com/studio/projects/create-project#ImportAProject[project importer]. This sample shows how a simple Android application written in Java can be built with Gradle. The application was created following the https://developer.android.com/training/basics/firstapp[Build your first app guide]. ==== include::sample[dir="groovy",files="app/build.gradle[]"] include::sample[dir="kotlin",files="app/build.gradle.kts[]"] ==== To build the application: [listing.terminal] ---- $ ./gradlew build ---- For more information, we suggest reading link:{userManualPath}/getting_started.html[Getting Started with Gradle]. You can also find https://developer.android.com/guide[Android development related information inside the guides provided by the Android team].