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
Android 组件实践
Search
icyleaf
September 29, 2016
Technology
0
59
Android 组件实践
搭建、开发、发布 Android 组件到私有仓库全记录
icyleaf
September 29, 2016
Tweet
Share
More Decks by icyleaf
See All by icyleaf
我想学 Ruby 系列课程之开篇
icyleaf
0
120
论 Mobile App (iOS/Android)自动化构建是如何炼成的
icyleaf
0
200
使用 Kohana 轻便快速开发
icyleaf
0
110
贡嘎转山之驴行的意义
icyleaf
0
140
Install Snow Leopard on PC (Hashintosh)
icyleaf
0
150
Git 入门实战
icyleaf
8
800
Other Decks in Technology
See All in Technology
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
10
130k
TableauLangchainとは何か?
cielo1985
1
120
DatabricksにOLTPデータベース『Lakebase』がやってきた!
inoutk
0
140
マネジメントって難しい、けどおもしろい / Management is tough, but fun! #em_findy
ar_tama
7
1.2k
20250705 Headlamp: 專注可擴展性的 Kubernetes 用戶界面
pichuang
0
290
VGGT: Visual Geometry Grounded Transformer
peisuke
0
160
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
290
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
6
4k
Coinbase™®️ USA Contact Numbers: Complete 2025 Support Guide
officialcoinbasehelpcenter
0
460
[SRE NEXT] ARR150億円_エンジニア140名_27チーム_17プロダクトから始めるSLO.pdf
satos
2
620
【LT会登壇資料】TROCCO新コネクタ「スマレジ」を活用した直営店データの分析
kazari0425
1
110
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
6
2.5k
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.1k
Six Lessons from altMBA
skipperchong
28
3.9k
Practical Orchestrator
shlominoach
189
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Bash Introduction
62gerente
613
210k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
6
310
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
For a Future-Friendly Web
brad_frost
179
9.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Android ᕟկਫ᪢ ൫ୌ̵ݎ̵ݎᐺํՙପقᦕ୯
ىԭ౯ ሴ冁 http://github.com/icyleaf
• ԅՋԍᥝᕟկ۸ • ٵ॓ሾह • ݎᕟկጱᳯ᷌ • ই֜۱ᕟկ • ړݎکᐺํՙପ
• ᶱፓفᐺํᕟկ
ԅՋԍᥝᕟկ۸
ԅՋԍᥝᕟկ۸
• ी୩॔አګ • ٺᶱፓጱᘠݳ • ฃԭړՁ • ṛྯӻՈጱݎපሲᩒრᳯ᷌
ᕟ件化 吧Ḿ年
ٵ॓ሾह Android Studio ੪ड़ ԧ҅ڦঘᏥ౯፡ԡ
ࣗӞ ࣗᇂޫѺѺAndroid Studio ݝඪ೮ڠୌᶱፓѺ ෫ѺဩѺፗѺളѺڠѺୌѺᕟѺկѺ
ྋᏟڠୌᕟկጱ۠ 1. ڠୌӞӻֺᶱፓҁྲই XXXXSample҂ 2. ٚྌचᏐӤڠୌӞӻ Android Library 3. දݷֺᶱፓጱ
app ፓ୯ԅ sample
֢ۖړᥴ
STEP 1 ڠୌֺᶱፓ
STEP 2 ڠୌ Android Library
STEP 3 දݷ app
ࣗԫ ᕟկ឴ݐ᧣አ App ጱמ௳ݢᚆฎӧྋᏟጱѺ
Ԉӻ່ৼ • ྲইֵአ BuildConfig ឴ݐ App ጱ packagename/versionName/versionCode
BuildConfig ጱওአ • Android Stuido ᇿํጱᔄ • ݢզ build.gradle ឴ݐचמ௳
• ԞݢզᛔਧԎᯈᗝמ௳
None
None
۱ԏڹ౯మض᧔᧔ړݎ
ړݎ • لՙପ • Maven Central • jCenter • ᐺํՙପ
• Nexus • Artifactory
maven vs jcenter • jcenter ฎӞӻ mavenCentral ጱ᩻ᵞ҅jcenter ᬮ۱ތԧٌ՜ maven
۱ • jcenter ٍํๅঅጱ cdn҅ἕᦊඪ೮ https҅ᬯӻԭᨕྈํ य़ޕێ • bintrayҁjcenter ጱ๐ۓ׀ࠟ҂ᤒᐏ jcenter ٍํๅঅጱᚆ • ํහഝᤒก bintray jcenter ܛአๅጱࣈᖨਂᑮᳵ • ๅঅጱԻኴᶎ҅ݢզ jcenter ݻ mavenCentral ݶྍ۱ ݇ᘍ಼ Android Studio ԏࢥғMaven ՙପֵአӨᐺํՙପ൫ୌ gradle vs maven
۱ ቘᥴړݎՙପᵱᥝጱᕟ౮᮱ړғ • .pom ᕟկጱൈᬿਧԎ xml կ • .aar ۱ތᩒრጱ
jar կ҅አԭ Android • source.jar ᕟկጱრᎱ • javadoc.jar ᕟկጱ API
ࣗӣ ԅՋԍ౯۱ጱᕟկ෫ဩֵአҘ ׁᩢ౯ࣁᕟկጱ build.gradle ૪ᕪႲےԧࠡѺ
Maven चᕟ౮ • artifact • group • version • dependency
None
None
ݎᐺํՙପ • ๐ۓՙପአ Artifactory • ૡᑕᕟկᵱᥝෛी gradle ൊկ • maven-plugins
ҁٖᗝ҂ • com.jfrog.artifactory ҁᵱႲے BuildScript ׁᩢ҂
None
None
None
None
ᶱፓفᐺํᕟկ
• ໑ፓ୯ build.gradle Ⴒے maven ՙପ • ؟ྋଉӞفׁᩢᕟկ
ࣗࢥ ֦݈ࣗᇂѺѺ໑෫ဩӥׁᩢѺ AS ྯེᅩڋ Sync Now ᮷ಸᲙѺѺѺѺѺ
ᵙ᭲ฎ VPN ᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎࣈᗑᕶᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎ 227 ᴠᅉाᳯ᷌Ҙ ༄ັing........ഭᴻѺ
ᵙ᭲ฎ artifactory ᛔᴴᳯ᷌Ҙ ༄ັing........ഭᴻѺ ᵙ᭲ฎ.....ঌᢓѺѺ
None
None
Q&A