Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cradle to the Gradle
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Reed Allman
November 05, 2013
Technology
1
310
Cradle to the Gradle
Building Android without the migraine, using Android Studio, Gradle and Genymotion.
Reed Allman
November 05, 2013
Tweet
Share
More Decks by Reed Allman
See All by Reed Allman
Cond: A Case Study; or Shipping Fn Channels
rdallman
0
120
BYOMQ: Build Your Own Message Queue
rdallman
0
300
Docker after 500M Containers
rdallman
0
150
Rocks rocks
rdallman
0
130
Let's git it on
rdallman
0
110
Other Decks in Technology
See All in Technology
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
670
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
150
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
260
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
470
クレジットカード決済基盤を支えるSRE - 厳格な監査とSRE運用の両立 (SRE Kaigi 2026)
capytan
6
2.8k
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.9k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
210
コミュニティが変えるキャリアの地平線:コロナ禍新卒入社のエンジニアがAWSコミュニティで見つけた成長の羅針盤
kentosuzuki
0
120
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Fireside Chat
paigeccino
41
3.8k
Everyday Curiosity
cassininazir
0
130
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
730
RailsConf 2023
tenderlove
30
1.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
150
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Why Our Code Smells
bkeepers
PRO
340
58k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Ethics towards AI in product and experience design
skipperchong
2
200
Between Models and Reality
mayunak
1
190
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Transcript
Cradle to the Gradle Building Android Without the Migraine @rdallman10
Hello darkness, my old friend
R cannot be resolved to a type...
Dependencies missing...
Fix project properties…
Egit says you have unresolved conflicts...
PC load letter… What the $#@! does that mean?
Eclipse, meet your maker
A UI for this millenium
Version control baked in. And it works!
Doesn’t randomly freeze. And it’s in beta!
Will still suck all your RAM. But it tells you
how much!
All the “great IDE features.” And it’s not Eclipse!
OK, real talk on some features
Preview all screen sizes
Jump from Activity to its Layout
Jump from Layout to its Activity
Jump from Fragment to its Layout
Jump from Layout to its Fragment
It’s &%$*ing life changing
Some Useful commands: Jump to File: ⌘⇧O Jump to Class:
⌘O Run: ^⌘R Find All (Project): ⌘⇧F ...Hover and it’ll tell you
http://developer.android.com/sdk/installing/studio.html
Now to the real cool stuff
Let’s talk dependency management
Maybe you did this? (guilty)
Maybe you did this? (guilty again)
And what do we say?
No more carrying around dependencies! All we need is a
build.gradle file
The dayman cometh
So let’s talk build.gradle
AndroidManifest.xml gets stupid-er
Versioning / SDK moves to build.gradle
How many bloody DSL’s are there?
It’s just Groovy, baby.
...So enough of that.
Why should I make the switch?
None
Ever seen this?
https://gist.github.com/rdallman/7314868
Build [release] from command line
Take that, Eclipse
For you heavy readers: http://tools.android.com/tech-docs/new-build-system/user-guide
Also makes collaborating easy.
Clone (or otherwise acquire) project source:
Just import build.gradle file
Also automagically sets up VCS and remotes
One last thing…
Poll: how long does this normally take you?
Maybe you’re sick of always carrying one of these around
Walk towards the light... http://www.genymotion.com/
Integrates right into Android Studio (plugin)
Make the switch. For Android. For Sanity. Let me know
if you need any help!
[email protected]
Android Studio: http://developer.android.com/sdk/installing/studio.html Android Gradle: http://tools.android.com/tech-docs/new-build-system/user-guide Versioning build.gradle: https://gist.github.com/rdallman/7314868 Find
maven dependencies: http://gradleplease.appspot.com/ Genymotion: http://www.genymotion.com/ Link Summary (+goodies):