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
MUITにおける開発プロセスモダナイズの取り組みと開発生産性可視化の取り組みについて / Modernize the Development Process and Visualize Development Productivity at MUIT
muit
0
470
React開発にStorybookとCopilotを導入して、爆速でUIを編集・確認する方法
yu_kod
1
110
20250625 Snowflake Summit 2025活用事例 レポート / Nowcast Snowflake Summit 2025 Case Study Report
kkuv
1
370
Connect 100+を支える技術
kanyamaguc
0
160
Tech-Verse 2025 Global CTO Session
lycorptech_jp
PRO
0
1.2k
How Community Opened Global Doors
hiroramos4
PRO
1
130
KubeCon + CloudNativeCon Japan 2025 に行ってきた! & containerd の新機能紹介
honahuku
0
120
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
2
690
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
310
ビギナーであり続ける/beginning
ikuodanaka
3
380
Geminiとv0による高速プロトタイピング
shinya337
0
200
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
230
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Raft: Consensus for Rubyists
vanstee
140
7k
Rails Girls Zürich Keynote
gr2m
94
14k
A Tale of Four Properties
chriscoyier
160
23k
Typedesign – Prime Four
hannesfritz
42
2.7k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Visualization
eitanlees
146
16k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Building Adaptive Systems
keathley
43
2.6k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
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