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
57
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
Autonomous Database サービス・アップデート (FY25)
oracle4engineer
PRO
1
720
Spring for GraphQLって実際どうなの?〜小規模スタートアップの事例紹介〜
kogayushi
0
160
Javaアプリケーションの配布とパッケージング / Distribution and packaging of Java applications
hogelog
2
510
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
20250612_GitHubを使いこなすためにソニーの開発現場が取り組んでいるプラクティス.pdf
osakiy8
1
310
メルカリにおけるデータアナリティクス AI エージェント「Socrates」と ADK 活用事例
na0
15
7.2k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
270
impressions-trying-lambda-web-adapter
junkishigaki
2
140
MCPを利用して自然言語で3Dプリントしてみよう!
hamadakoji
0
750
【ClickHouseMeetup】ClickHouseを活用したセキュリティログ解析AIエージェント『LogEater』とは
hssh2_bin
0
110
実践Kafka Streams 〜イベント駆動型アーキテクチャを添えて〜
joker1007
3
820
データベースの引越しを Ora2Pg でスマートにやろう
jri_narita
0
180
Featured
See All Featured
Balancing Empowerment & Direction
lara
1
100
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
GitHub's CSS Performance
jonrohan
1031
460k
Practical Orchestrator
shlominoach
188
11k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Six Lessons from altMBA
skipperchong
28
3.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Typedesign – Prime Four
hannesfritz
42
2.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.3k
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