# TIP: Include Source with Android Studio 3.0

DevFeed: [TIP: Include Source with Android Studio 3.0](<https://devfeed.tech/articles/tip-include-source-with-android-studio-3-0-19583.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tip-include-source-android-studio-3/>)

Author: Shai Almog

Published: 2018-03-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Android Studio](<https://devfeed.tech/topics/android-studio.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [ide](<https://devfeed.tech/topics/ide.md>), [debug](<https://devfeed.tech/topics/debug.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [debug](<https://devfeed.tech/tags/debug.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [ide](<https://devfeed.tech/tags/ide.md>)

## AI overview

A tutorial for using the Include Source feature with Android Studio 3.0 or later. It explains updating Gradle and the SDK, adjusting project files and settings, and replacing three style files to support debugging applications directly on a device.

## Source excerpt

I covered the include source feature extensively. For the most part it's the simplest way to debug an application directly on the device. When I made that video the current version of Android Studio and Gradle were much older. We still use API version 23 on the build servers to keep everything compatible but you might want to use a newer version of the IDE. In that case you can use the newer version 3.0+ of Android Studio but you will need to make a few updates to the process.