Skip to content

Commit 154bbab

Browse files
committed
Add dev chapter
1 parent 43b9f58 commit 154bbab

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* [良好的撰寫習慣 JavaDoc](javadoc.md)
2424
* [開源套件中心 - jitpack/jcenter/mavenCentral](openpackage_jitpack_jcenter_mavencentral.md)
2525
* [開源碼函式庫](openlibrary.md)
26+
* [開發環境](dev.md)
2627
* [Test - Assert 斷言 - assertj, truth](assert.md)
2728
* [Test - Mockito](mockito.md)
2829
* [Test - UI - espresso, rxpresso](test_-_espresso,_rxpresso.md)

dev.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# 開發環境
2+
3+
## 編譯
4+
5+
```sh
6+
$ curl -L https://github.com/yongjhih/docker-android/raw/master/docker-android > ~/bin/docker-android && \
7+
chmod a+x ~/bin/docker-android
8+
9+
$ docker-android ./gradlew assembleDebug
10+
```
11+
12+
## IDE: Android Studio
13+
14+
```sh
15+
$ curl -L https://github.com/yongjhih/docker-android-studio/raw/master/docker-android-studio > ~/bin/android-studio && \
16+
chmod a+x ~/bin/android-studio
17+
18+
$ android-studio
19+
```

0 commit comments

Comments
 (0)