Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
New to Android StudioI
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Engine Bai
January 22, 2015
Technology
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
New to Android StudioI
Introduction to Android Studio.
Engine Bai
January 22, 2015
Other Decks in Technology
See All in Technology
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
140
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
300
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
860
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
1.7k
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
3
490
Featured
See All Featured
Crafting Experiences
bethany
1
380
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
Optimising Largest Contentful Paint
csswizardry
37
4k
4 Signs Your Business is Dying
shpigford
187
23k
Design in an AI World
tapps
1
350
WENDY [Excerpt]
tessaabrams
14
40k
Side Projects
sachag
456
43k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Believing is Seeing
oripsolob
1
240
How to make the Groovebox
asonas
2
2.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Transcript
NEW TO ANDROID STUDIO ⼤大⽩白 2015/01/24
OUTLINE • Introduction • Android Tools • Gradle Plugin
INTRODUCTION
ANDROID STUDIO IS … • Google official Android IDE •
Based on IntelliJ IDEA • Gradle-based build system • Code templates • Rich layout editor
GLANCE
PRODUCTIVITY • Keymap commands • Plugins • Help -> Productivity
Guide • More on Tips and Tricks
ANDROID TOOLS
MULTI-DEVICES DEBUG
ANDROID DDMS • Log, of course. • Screen Capture &
Record • System information
MEMORY MONITOR
MULTI-DEVICES PREVIEW
BUILD VARIANTS
TOOLS ATTRIBUTES • In xml file, add namespace. • xmlns:tools:“http://schemas.android.com/tools”
• Add to layout editor • tools:context • tools:text • tools:listitem / listheader / listfooter
TOOLS ATTRIBUTES • In xml file, add namespace. • xmlns:tools:“http://schemas.android.com/tools”
• Add to layout editor • tools:context • tools:text • tools:listitem / listheader / listfooter
TOOLS ATTRIBUTES • In xml file, add namespace. • xmlns:tools:“http://schemas.android.com/tools”
• Add to layout editor • tools:context • tools:text • tools:listitem / listheader / listfooter
TOOLS ATTRIBUTES • In xml file, add namespace. • xmlns:tools:“http://schemas.android.com/tools”
• Add to layout editor • tools:context • tools:text • tools:listitem / listheader / listfooter
TOOLS ATTRIBUTES • In xml file, add namespace. • xmlns:tools:“http://schemas.android.com/tools”
• Add to layout editor • tools:context • tools:text • tools:listitem / listheader / listfooter
GRADLE PLUGIN
PROJECT VS MODULE • Project is … • A complete
android app. • Contains module(s).
PROJECT VS MODULE • Module is … • A component
which can build, test or debug independently. • Three types of modules: • Java library • Android library • Android application
PROJECT STRUCTURES • <project>/ • app/ • src/main/java… • build.gradle
• library1/ • src/main/java… • build.gradle • build.gradle • settings.gradle
PROJECT STRUCTURES • <project>/ • app/ • src/main/java… • build.gradle
• library1/ • src/main/java… • build.gradle • build.gradle • settings.gradle
TOP LEVEL SETTINGS.GRADLE • Tell Gradle which modules to build.
• include ‘:app’ • include ‘:library1’ • project(‘:library1’).projectDir = new File(‘other/place/on/the/computer’)
TOP LEVEL BUILD.GRADLE • Define common config of all sub-modules.
• buildscript • allprojects
MODULE BUILD.GRADLE • One module, one build.gradle file. • Define
android specific, dependencies settings etc.
DEPENDENCIES • Module • compile project(‘:library1’) • Local • compile
files(‘libs/gson.jar’) • compile fileTree(dir:’libs’, include:[‘*.jar’]) • Remote • compile ‘com.android.support:support-v4:21.0.3’
IMPORT MODULE
IMPORT MODULE
IMPORT MODULE
THAT’S ALL. QUESTION??
THANK YOU! • Follow me @ http://enginebai.logdown.com